Action hook 'split_shared_term'

in WP Core File wp-includes/taxonomy.php at line 4355

Description

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

Occurrences

Filename Line Number
wp-includes/taxonomy.php 4355

Parameters

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

PHP Doc

/**
	 * Fires after a previously shared taxonomy term is split into two separate terms.
	 *
	 * @since 4.2.0
	 *
	 * @param int    $term_id          ID of the formerly shared term.
	 * @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.
	 */