wpseek.com
WordPress开发者和主题制作者的搜索引擎



global_terms › WordPress Function

Since3.0.0
已弃用6.1.0
global_terms ( $term_id, $deprecated = '' )
参数: (2)
  • (int) $term_id An ID for a term on the current blog.
    Required: Yes
  • (string) $deprecated Not used.
    Required: No
    默认: (empty)
返回:
  • (int) An ID from the global terms table mapped from $term_id.
定义在:
文档:
Change Log:
  • 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;
}