gutenberg_theme_json_get_style_nodes
gutenberg_theme_json_get_style_nodes
Appears in: gutenberg.14.2.0, gutenberg.14.3.1
Hook Type: filter
See hook in action
Displaying hooks found in version: gutenberg.14.3.1apply_filters('gutenberg_theme_json_get_style_nodes') is found 1 times:
- /lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php line 586
$nodes = array_merge( $nodes, static::get_block_nodes( $theme_json, $selectors ) ); // This filter allows us to modify the output of WP_Theme_JSON so that we can do things like loading block CSS independently. return apply_filters( 'gutenberg_theme_json_get_style_nodes', $nodes ); } /** * A public helper to get the block nodes from a theme.json file. * * @return array The block nodes in theme.json.