theme_json_blocks
theme_json_blocks
Appears in: gutenberg.14.2.0, gutenberg.14.3.1
Hook Type: filter
Displaying hooks found in version: gutenberg.14.3.1apply_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' ); } /**