ninja_forms_save_setting_<id>
The Ninja Forms ninja forms save setting id hook.
Description
Parameters (1)
- 0. $value (unknown)
- The value.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'ninja_forms_save_setting_{$id}', $value );
- The following example is for adding a hook callback.
- // define the ninja_forms_save_setting_<id> callback
- function action_ninja_forms_save_setting_id( $value ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "ninja_forms_save_setting_{$id}", 'action_ninja_forms_save_setting_id', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "ninja_forms_save_setting_{$id}", 'action_ninja_forms_save_setting_id', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /includes/Admin/Menus/Settings.php
- do_action( 'ninja_forms_save_setting_' . $id, $value );