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



wp_theme_json_data_theme › WordPress Filter Hooks

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

Filters the data provided by the theme for global styles and settings.





Source

$theme_json      = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data( $theme_json_data, 'theme' ) );