Summery Summery
Determine whether a term is shared between multiple taxonomies.
Syntax Syntax
Description Description
Shared taxonomy terms began to be split in 4.3, but failed cron tasks or other delays in upgrade routines may cause shared terms to remain.
Parameters Parameters
- $term_id
-
(Required) Term ID.
Return Return
(bool) Returns false if a term is not shared between multiple taxonomies or if splitting shared taxonomy terms is finished.
Source Source
File: wp-includes/taxonomy.php
if ( (int) get_option( $option, -1 ) === $term_id ) { update_option( $option, $new_term_id ); } } } /** * Check menu items when a term gets split to see if any of them need to be updated. * * @ignore * @since 4.2.0
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |