wp_term_is_shared

SummerySummery

Determine whether a term is shared between multiple taxonomies.

Syntax

wp_term_is_shared( int $term_id )

DescriptionDescription

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.

ParametersParameters

$term_id

(int) (Required) Term ID.

ReturnReturn

(bool) Returns false if a term is not shared between multiple taxonomies or if splitting shared taxonomy terms is finished.

SourceSource

File: wp-includes/taxonomy.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top