wp_get_split_term


wp_get_split_term ( $old_term_id, $taxonomy )

Parameters:
  • (int) old_term_id Term ID. This is the old, pre-split term ID.
  • (string) taxonomy Taxonomy that the term belongs to.
Returns:
  • (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.
Defined at:

Description

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

Related Functions

wp_get_split_terms, wp_get_post_terms, _wp_batch_split_terms, wp_get_sites, wp_set_post_terms

Top Google Results

User discussions

wpseek mobile