wp_split_shared_term_batch
The WordPress Core wp split shared term batch hook.
Description
Parameters (1)
- 0. $wp_batch_split_terms (string) =>
'_wp_batch_split_terms'
- The
wp
batch split terms.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wp_split_shared_term_batch', $wp_batch_split_terms );
- The following example is for adding a hook callback.
- // define the wp_split_shared_term_batch callback
- function action_wp_split_shared_term_batch( $wp_batch_split_terms ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wp_split_shared_term_batch', 'action_wp_split_shared_term_batch', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wp_split_shared_term_batch', 'action_wp_split_shared_term_batch', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /wp-includes/default-filters.php
- add_action( 'wp_split_shared_term_batch', '_wp_batch_split_terms' );