do_action( 'split_shared_term', int $term_id, int $new_term_id, int $term_taxonomy_id, string $taxonomy )

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


$term_id int
ID of the formerly shared term.
$new_term_id int
ID of the new term created for the $term_taxonomy_id.
$term_taxonomy_id int
ID for the term_taxonomy row affected by the split.
$taxonomy string
Taxonomy for the split term.

Top ↑


File: wp-includes/taxonomy.php. View all references

do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy );

Top ↑


Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.