global_terms()
global_terms( int $term_id, string $deprecated = ” )
通过将为每个博客创建的术语与全局术语表同步,维护术语的规范列表。
Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.
说明(Description)
另见函数 https://www.wp2.cn/functions()
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$term_id | (int) | 必需 | 当前博客上某个学期的ID。 |
$deprecated | (string) | 可选 | 不使用。 |
返回(Return)
(int)从$term_ID映射的全局术语表中的ID。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.0.0 | wp-includes/ms-functions.php:1929 | 1 function | 10 |
global_terms() 为WP2原创文章,链接:https://www.wp2.cn/functions/global_terms/