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.


Parameters

$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.


Source

File: wp-includes/taxonomy.php

View on GitHub


Changelog

Changelog
Version Description
WP-4.2.0 Introduced.