WordPress at Your Fingertips
action is not described

split_shared_term action-hook . WP 4.2.0

Fires after a previously shared taxonomy term is split into two separate terms.


add_action( 'split_shared_term', 'action_function_name_685', 10, 4 );
function action_function_name_685( $term_id, $new_term_id, $term_taxonomy_id, $taxonomy ){
	// action...
ID of the formerly shared term.
ID of the new term created for the $term_taxonomy_id.
ID for the term_taxonomy row affected by the split.
Taxonomy for the split term.


Since 4.2.0 Introduced.

Where the hook is called

wp-includes/taxonomy.php 4108
do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 466
add_action( 'split_shared_term', '_wp_check_split_default_terms', 10, 4 );
wp-includes/default-filters.php 467
add_action( 'split_shared_term', '_wp_check_split_terms_in_menus', 10, 4 );
wp-includes/default-filters.php 468
add_action( 'split_shared_term', '_wp_check_split_nav_menu_terms', 10, 4 );