wppaste
WordPress

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.

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.

Fired at · 1

  • wp-includes/taxonomy.php:4356_split_shared_term()

Source

	 *	 * @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.	 */	do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy ); 	return $new_term_id;} /** * Splits a batch of shared taxonomy terms.

History

Introduced in 4.2.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 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.