WP_Theme_JSON::get_styles_block_nodes(): array

In this article

A public helper to get the block nodes from a theme.json file.

Return

array The block nodes in theme.json.

Source

$declarations = array();
foreach ( static::PRESETS_METADATA as $preset_metadata ) {
	if ( empty( $preset_metadata['css_vars'] ) ) {

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.