nfThreeUpgrade_GetSerializedForm

The Ninja Forms nfThreeUpgrade GetSerializedForm function.

Description

nfThreeUpgrade_GetSerializedForm(); 

Usage

  1. if ( !function_exists( 'nfThreeUpgrade_GetSerializedForm' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/ninja-forms.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = nfThreeUpgrade_GetSerializedForm(); 
  7.  

Defined (1)

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

/deprecated/ninja-forms.php  
  1. function nfThreeUpgrade_GetSerializedForm() { 
  2. $id = absint( $_POST[ 'formID' ] ); 
  3. $form_row = ninja_forms_serialize_form( $id ); 
  4. echo json_encode( array( 'id' => $id, 'serialized' => $form_row ) ); 
  5. wp_die();