Wordpress 钩子:global_terms_enabled
文章目录
过滤是否启用全局术语。
原型
apply_filters( 'global_terms_enabled', null $enabled )
描述
将非空值传递给过滤器将有效地使函数短路,而是返回“global_terms_enabled”站点选项的值。
参数
$enabled
(null)
是否启用全局术语。
源文件
路径:wp-includes/functions.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/global_terms_enabled/
文章作者 iBllex
上次更新 2019-02-13