redux/field/<args_opt_name>/<type>/callback/after
Action 'redux/field/{opt_name}/{field.type}/callback/after'.
Description
Parameters (2)
- 0. $field (array)
- The field.
- 1. $value (string)
- The value.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'redux/field/{$args_opt_name}/{$type}/callback/after', $field, $value );
- The following example is for adding a hook callback.
- // define the redux/field/<args_opt_name>/<type>/callback/after callback
- function action_redux_field_args_opt_name_type_callback_after( $field, $value ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "redux/field/{$args_opt_name}/{$type}/callback/after", 'action_redux_field_args_opt_name_type_callback_after', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "redux/field/{$args_opt_name}/{$type}/callback/after", 'action_redux_field_args_opt_name_type_callback_after', 10, 2 );
Defined (1)
The action is defined in the following location(s).
- /inc/ReduxFramework/ReduxCore/framework.php
- do_action( "redux/field/{$this->args['opt_name']}/{$field['type']}/callback/after", $field, $value );