simcal_load_objects
The Simple Calendar simcal load objects hook.
Description
Parameters (1)
- 0. $is_admin (unknown)
- The is admin.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'simcal_load_objects', $is_admin );
- The following example is for adding a hook callback.
- // define the simcal_load_objects callback
- function action_simcal_load_objects( $is_admin ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'simcal_load_objects', 'action_simcal_load_objects', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'simcal_load_objects', 'action_simcal_load_objects', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /includes/objects.php
- do_action( 'simcal_load_objects', $is_admin );