split_shared_term
The WordPress Core split shared term hook.
Description
Parameters (1)
- 0. $array (array) =>
array( __CLASS__, 'jetpack_update_featured_content_for_split_terms', 10, 4 )
- The array.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'split_shared_term', $array );
- The following example is for adding a hook callback.
- // define the split_shared_term callback
- function action_split_shared_term( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'split_shared_term', 'action_split_shared_term', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'split_shared_term', 'action_split_shared_term', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /modules/theme-tools/featured-content.php
- add_action( 'split_shared_term', array( __CLASS__, 'jetpack_update_featured_content_for_split_terms', 10, 4 ) );