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



wp_theme_json_data_default › WordPress过滤钩子

Since6.1.0
已弃用n/a
apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data( $config, 'default' )
参数:
  • (WP_Theme_JSON_Data) $theme_json Class to access and update the underlying data.
    Required: Yes
定义在:
文档:

Filters the default data provided by WordPress for global styles & settings.





源码

$theme_json   = apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data( $config, 'default' ) );