split_shared_term

split_shared_term

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('split_shared_term') is found 1 times:

  • /wp-includes/taxonomy.php line 4356
    	 * @param int    $new_term_id      ID of the new term created for the $term_taxonomy_id.
    	 * @param int    $term_taxonomy_id ID for the term_taxonomy row affected by the split.
    	 * @param string $taxonomy         Taxonomy for the split term.
    	 */
    	do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy );
    
    	return $new_term_id;
    }
    
    /**
     * Splits a batch of shared taxonomy terms.
    

See this hook used in plugins: