wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_theme_json_data_default › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data( $config, 'default' )
Parameters:
  • (WP_Theme_JSON_Data) $theme_json Class to access and update the underlying data.
    Required: Yes
Defined at:
Codex:

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





Source

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