gutenberg_get_style_nodes

gutenberg_get_style_nodes

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: gutenberg.14.0.3

apply_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.
    

See this hook used in plugins: