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

protected static function compute_preset_vars( $settings, $origins ) {
	$declarations = array();
	foreach ( static::PRESETS_METADATA as $preset_metadata ) {

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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