split_shared_term

The WordPress Core split shared term hook.

Description

add_action( 'split_shared_term', (array) $array ); 

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.
  1. // run the action 
  2. do_action( 'split_shared_term', $array ); 
The following example is for adding a hook callback.
  1. // define the split_shared_term callback 
  2. function action_split_shared_term( $array ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'split_shared_term', 'action_split_shared_term', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. 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  
  1. add_action( 'split_shared_term', array( __CLASS__, 'jetpack_update_featured_content_for_split_terms', 10, 4 ) );