jetpack_module_configuration_load_<module>
The WordPress Core jetpack module configuration load hook.
Description
Parameters (1)
- 0. $method (unknown)
- The method.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'jetpack_module_configuration_load_{$module}', $method );
- The following example is for adding a hook callback.
- // define the jetpack_module_configuration_load_<module> callback
- function action_jetpack_module_configuration_load_module( $method ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "jetpack_module_configuration_load_{$module}", 'action_jetpack_module_configuration_load_module', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "jetpack_module_configuration_load_{$module}", 'action_jetpack_module_configuration_load_module', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /class.jetpack.php
- add_action( 'jetpack_module_configuration_load_' . $module, $method );