ninja_forms_display_init

The WordPress Core ninja forms display init hook.

Description

add_action( 'ninja_forms_display_init', (string) $nf_clear_complete, (int) $int ); 

Parameters (2)

0. $nf_clear_complete (string) => 'nf_clear_complete'
The nf clear complete.
1. $int (int) => 999
The int.

Usage

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

Defined (5)

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

/deprecated/includes/display/fields/clear-complete.php  
  1. add_action( 'ninja_forms_display_init', 'nf_clear_complete', 999 ); 
/deprecated/includes/display/fields/calc-field-class.php  
  1. add_action( 'ninja_forms_display_init', 'ninja_forms_calc_listen_field_class' ); 
/deprecated/includes/display/form/display-form.php  
  1. do_action( 'ninja_forms_display_init', $form_id ); 
/deprecated/includes/display/form/sub-limit.php  
  1. add_action( 'ninja_forms_display_init', 'nf_check_sub_limit' ); 
/includes/Templates/display-form-container.html.php  
  1. <?php do_action( 'ninja_forms_display_init', $form_id ); ?>