ninja_forms_edit_field_before_registered

The Ninja Forms ninja forms edit field before registered hook.

Description

do_action( 'ninja_forms_edit_field_before_registered', (unknown) $field_id, (unknown) $field_data ); 

Parameters (2)

0. $field_id (unknown)
The field id.
1. $field_data (unknown)
The field data.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'ninja_forms_edit_field_before_registered', $field_id, $field_data ); 
The following example is for adding a hook callback.
  1. // define the ninja_forms_edit_field_before_registered callback 
  2. function action_ninja_forms_edit_field_before_registered( $field_id, $field_data ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'ninja_forms_edit_field_before_registered', 'action_ninja_forms_edit_field_before_registered', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'ninja_forms_edit_field_before_registered', 'action_ninja_forms_edit_field_before_registered', 10, 2 ); 

Defined (1)

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

/deprecated/includes/admin/edit-field/li.php  
  1. do_action( 'ninja_forms_edit_field_before_registered', $field_id, $field_data );