wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_theme_json_data_blocks › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data( $config, 'blocks' )
Parameters:
  • (WP_Theme_JSON_Data) $theme_json Class to access and update the underlying data.
    Required: Yes
Defined at:
Codex:

Filters the data provided by the blocks for global styles & settings.





Source

$theme_json = apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data( $config, 'blocks' ) );