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



validate_current_theme › WordPress过滤钩子

Since2.7.0
已弃用n/a
› apply_filters( 'validate_current_theme', true )
参数:
  • () validate Whether to validate the active theme. Default true.
    Required: Yes
定义在:
文档:

Filters whether to validate the active theme.





源码

if ( wp_installing() || ! apply_filters( 'validate_current_theme', true ) ) {