ninja_forms_deprecated_call

Deprecated Notice.

Description

do_action( 'ninja_forms_deprecated_call', (unknown) $deprecated, (unknown) $replacement, (unknown) $version ); 

Example: Ninja_Forms::deprecated_hook( ninja_forms_old,, 3.0, ninja_forms_new, debug_backtrace() );

Parameters (3)

0. $deprecated (unknown)
The deprecated.
1. $replacement (unknown)
The replacement.
2. $version (unknown)
The version.

Usage

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

Defined (1)

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

/ninja-forms.php  
  1. do_action( 'ninja_forms_deprecated_call', $deprecated, $replacement, $version );