do_action( 'split_shared_term', int $term_id, int $new_term_id, int $term_taxonomy_id, string $taxonomy )
- Since
- 4.2.0
Fires after a previously shared taxonomy term is split into two separate terms.
Compatibility
- WordPress
- since 4.2.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$term_idint- ID of the formerly shared term.
$new_term_idint- ID of the new term created for the $term_taxonomy_id.
$term_taxonomy_idint- ID for the term_taxonomy row affected by the split.
$taxonomystring- Taxonomy for the split term.
Where this hook fires · 1
wp-includes/taxonomy.php:4435_split_shared_term()
Changelog
Introduced in 4.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.