wp_theme_json_data_blocks, new WP_Theme_JSON_Data_Gutenberg( $config, blocks

wp_theme_json_data_blocks, new WP_Theme_JSON_Data_Gutenberg( $config, blocks

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.23.6.2

apply_filters('wp_theme_json_data_blocks, new WP_Theme_JSON_Data_Gutenberg( $config, blocks') is found 1 times:

  • /lib/class-wp-theme-json-resolver-gutenberg.php line 416
    		 * @since 6.1.0
    		 *
    		 * @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
    		 */
    		$theme_json     = apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data_Gutenberg( $config, 'blocks' ) );
    		static::$blocks = $theme_json->get_theme_json();
    
    		return static::$blocks;
    	}
    
    	/**