Summery Summery

Get the new term ID corresponding to a previously split term.

Syntax Syntax

wp_get_split_term( int $old_term_id, string $taxonomy )

Parameters Parameters


(int) (Required) Term ID. This is the old, pre-split term ID.


(string) (Required) Taxonomy that the term belongs to.

Return Return

(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.

Source Source

File: wp-includes/taxonomy.php



Changelog Changelog

Version Description
4.2.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.