gutenberg_get_style_nodes
gutenberg_get_style_nodes
Appears in: gutenberg.13.4.0, gutenberg.13.5.0, gutenberg.13.5.2, gutenberg.13.6.0, gutenberg.13.7.1, gutenberg.13.8.2, gutenberg.13.9.0, gutenberg.14.0.2, gutenberg.14.0.3
Hook Type: filter
See hook in action
Displaying hooks found in version: gutenberg.14.0.3apply_filters('gutenberg_get_style_nodes') is found 1 times:
- /lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php line 524
$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_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.