global_terms()WP 3.0.0

Deprecated from version 6.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

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

No Hooks.

Return

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

Usage

global_terms( $term_id, $deprecated );
$term_id(int) (required)
An ID for a term on the current blog.
$deprecated(string)
Not used.
Default: ''

Changelog

Since 3.0.0 Introduced.
Since 6.1.0 This function no longer does anything.
Deprecated since 6.1.0

global_terms() code WP 6.5.2

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

	return $term_id;
}