wordpress / latest / functions / global_terms.html

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

This function has been deprecated.

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

Parameters

$term_id int Required
An ID for a term on the current blog.
$deprecated string Optional
Not used.

Default: ''

Return

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

Source

File: wp-includes/ms-deprecated.php. View all references

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

	return $term_id;
}

Uses

Uses Description

Changelog

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

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