global_terms

函数


global_terms ( $term_id, $deprecated = '' )
参数
  • (int)
    $term_id
    An ID for a term on the current blog.
    Required:
  • (string)
    $deprecated
    Not used.
    Required:
    Default: (empty)
返回值
  • (int) An ID from the global terms table mapped from $term_id.
定义位置
  • wp-includes/ms-deprecated.php
    , line 745
引入
3.0.0
弃用
6.1.0

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

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

	return $term_id;
}