theme_json_blocks

theme_json_blocks

Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.14.3.1

apply_filters('theme_json_blocks') is found 1 times:

  • /lib/experimental/class-wp-theme-json-resolver-gutenberg.php line 144
    		 * Filters the data provided by the blocks for global styles & settings.
    		 *
    		 * @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
    		 */
    		$theme_json = apply_filters( 'theme_json_blocks', new WP_Theme_JSON_Data_Gutenberg( $config, 'blocks' ) );
    		$config     = $theme_json->get_data();
    
    		return new WP_Theme_JSON_Gutenberg( $config, 'blocks' );
    	}
    
    	/**