W3cubDocs

/WordPress

global_terms( int $term_id, string $deprecated = ): int

Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.

Parameters

$term_idintrequired
An ID for a term on the current blog.
$deprecatedstringoptional
Not used.

Default:''

Return

int An ID from the global terms table mapped from $term_id.

Source

function global_terms( $term_id, $deprecated = '' ) {
	_deprecated_function( __FUNCTION__, '6.1.0' );

	return $term_id;
}

Changelog

Version Description
6.1.0 This function has been deprecated.
3.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/global_terms