wp_theme_json_data_theme, new WP_Theme_JSON_Data( $theme_json_data, theme
wp_theme_json_data_theme, new WP_Theme_JSON_Data( $theme_json_data, theme
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('wp_theme_json_data_theme, new WP_Theme_JSON_Data( $theme_json_data, theme') is found 1 times:
- /wp-includes/class-wp-theme-json-resolver.php line 292
* @since 6.1.0 * * @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data. */ $theme_json = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data( $theme_json_data, 'theme' ) ); /* * Backward compatibility for extenders returning a WP_Theme_JSON_Data * compatible class that is not a WP_Theme_JSON_Data object. */ if ( $theme_json instanceof WP_Theme_JSON_Data ) {