WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/global terms

Description

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

Usage

<?php global_terms$term_id$deprecated ); ?>

Parameters

$term_id
(int) (required) An ID for a term on the current blog.
Default: None
$deprecated
(unknown_type) (optional) no description
Default: empty string

Return Values

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

Change Log

Since: 3.0

Source File

global_terms() is located in wp-includes/ms-functions.php