ninja_forms_field_edit

The Ninja Forms ninja forms field edit function.

Description

ninja_forms_field_edit( $slug ); 

Parameters (1)

0. $slug
The slug.

Usage

  1. if ( !function_exists( 'ninja_forms_field_edit' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/register.php'; 
  3.  
  4. // The slug. 
  5. $slug = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ninja_forms_field_edit($slug); 
  9.  

Defined (1)

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

/deprecated/includes/register.php  
  1. function ninja_forms_field_edit( $slug ) { 
  2. global $ninja_forms_fields; 
  3. $function_name = $ninja_forms_fields[$slug]['edit_function']; 
  4. $arguments = func_get_args(); 
  5. array_shift( $arguments ); // We need to remove the first arg ($function_name) 
  6. call_user_func_array( $function_name, $arguments );