global_terms()
Deprecated since 6.1.0. It is no longer supported and may 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.
Returns
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() global terms code WP 7.0
function global_terms( $term_id, $deprecated = '' ) {
_deprecated_function( __FUNCTION__, '6.1.0' );
return $term_id;
}