ninja_forms_conversion_calculations

The Ninja Forms ninja forms conversion calculations function.

Description

ninja_forms_conversion_calculations( $form_data ); 

Parameters (1)

0. $form_data
The form data.

Usage

  1. if ( !function_exists( 'ninja_forms_conversion_calculations' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/lib/Conversion/Calculations.php'; 
  3.  
  4. // The form data. 
  5. $form_data = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ninja_forms_conversion_calculations($form_data); 
  9.  

Defined (1)

The function is defined in the following location(s).

/lib/Conversion/Calculations.php  
  1. function ninja_forms_conversion_calculations( $form_data ) { 
  2. $conversion = new NF_Conversion_Calculations( $form_data ); 
  3. return $conversion->run();