WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

wp_get_split_term() WP 4.2.0

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

Хуков нет.

Возвращает

Число/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.

Использование

wp_get_split_term( $old_term_id, $taxonomy );
$old_term_id(число) (обязательный)
Term ID. This is the old, pre-split term ID.
$taxonomy(строка) (обязательный)
Taxonomy that the term belongs to.

Список изменений

С версии 4.2.0 Введена.

Код wp get split term: wp-includes/taxonomy.php WP 5.2.2

<?php
function wp_get_split_term( $old_term_id, $taxonomy ) {
	$split_terms = wp_get_split_terms( $old_term_id );

	$term_id = false;
	if ( isset( $split_terms[ $taxonomy ] ) ) {
		$term_id = (int) $split_terms[ $taxonomy ];
	}

	return $term_id;
}