Core Function
View Source on Trac ↗ wp_get_split_term()
wp_get_split_term( mixed $old_term_id, mixed $taxonomy ) Gets the new term ID corresponding to a previously split term.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $old_term_id int | Term ID. This is the old, pre-split term ID. Required |
| $taxonomy string | Taxonomy that the term belongs to. Required |
Return Value
((int)
(int | false) If a previously split term is found corresponding to the old term_id and taxonomy,
the new term_id will be returned. If no previously split term is found matching
the parameters, returns false.
Function Information
Since Version
4.2.0
Source File
wp-includes/taxonomy.php
Advertisement