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_theme_vars( $settings ) {
	$declarations  = array();
	$custom_values = isset( $settings['custom'] ) ? $settings['custom'] : array();

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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