Summery Summery
Get data about terms that previously shared a single term_id, but have since been split.
Syntax Syntax
Parameters Parameters
- $old_term_id
-
(Required) Term ID. This is the old, pre-split term ID.
Return Return
(array) Array of new term IDs, keyed by taxonomy.
Source Source
File: wp-includes/taxonomy.php
// Split the term. $split_term_data[ $term_id ][ $shared_tt->taxonomy ] = _split_shared_term( $shared_terms[ $term_id ], $shared_tt, false ); } // Rebuild the cached hierarchy for each affected taxonomy. foreach ( array_keys( $taxonomies ) as $tax ) { delete_option( "{$tax}_children" ); _get_term_hierarchy( $tax ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |