global_terms( int $term_id, string $deprecated = '' ): int
- Since
- 3.0.0, 6.1.0
- Source
wp-includes/ms-deprecated.php:751
Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.
Parameters
$term_idint- 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.
Uses · 1
- _deprecated_function()Marks a function as deprecated and inform when it has been used.
Source
function global_terms( $term_id, $deprecated = '' ) { _deprecated_function( __FUNCTION__, '6.1.0' ); return $term_id;}History
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
6.1.0
Deprecated.from the docblock
6.1.0
This function no longer does anything.from the docblock
3.0.0
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/ms-deprecated.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.