On this page
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_idint Required-
An ID for a term on the current blog.
$deprecatedstring 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;
}
Related
Uses
| Uses | Description |
|---|---|
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/global_terms