WPDev.one
Core Function
View Source on Trac ↗

_wp_check_split_default_terms()

_wp_check_split_default_terms( mixed $term_id, mixed $new_term_id, mixed $term_taxonomy_id, mixed $taxonomy )

Checks default categories when a term gets split to see if any of them need to be updated.

Parameters 4 required

Name / Type Description
$term_id
int

ID of the formerly shared term.

Required
$new_term_id
int

ID of the new term created for the $term_taxonomy_id.

Required
$term_taxonomy_id
int

ID for the term_taxonomy row affected by the split.

Required
$taxonomy
string

Taxonomy for the split term.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
4.2.0
Source File
wp-includes/taxonomy.php
Advertisement