wordpress / latest / hooks / wp_theme_json_get_style_nodes.html

apply_filters( 'wp_theme_json_get_style_nodes', array $nodes )

Filters the list of style nodes with metadata.

Description

This allows for things like loading block CSS independently.

Parameters

$nodes array
Style nodes with metadata.

Source

File: wp-includes/class-wp-theme-json.php. View all references

return apply_filters( 'wp_theme_json_get_style_nodes', $nodes );

Used By

Used By Description

Changelog

Version Description
6.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_theme_json_get_style_nodes