split_shared_term

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$term_id

ID of the formerly shared term.

$new_term_id

ID of the new term created for the $term_taxonomy_id.

$term_taxonomy_id

ID for the term_taxonomy row affected by the split.

$taxonomy

Taxonomy for the split term.

Source Source

File: wp-includes/taxonomy.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Advertisement

Leave a Reply