W3cubDocs

/WordPress

WP_Theme_JSON::has_properties( array $metadata ): bool

Whether the metadata contains a key named properties.

Parameters

$metadataarrayrequired
Description of the style property.

Return

bool True if properties exists, false otherwise.

Source


	unset( $context['appearanceTools'] );
}

/**
 * Sanitizes the input according to the schemas.
 *

Changelog

Version Description
5.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_theme_json/has_properties