wp_theme_json_data_default

wp_theme_json_data_default

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_theme_json_data_default') is found 1 times:

  • /wp-includes/class-wp-theme-json-resolver.php line 175
    		 * @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_default', new WP_Theme_JSON_Data( $config, 'default' ) );
    		$config       = $theme_json->get_data();
    		static::$core = new WP_Theme_JSON( $config, 'default' );
    
    		return static::$core;
    	}
    
    

See this hook used in plugins: