WP_Theme_JSON::get_patterns(): string[]

In this article

Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.

Return

string[]

Source

 * @param string $property_value Value in a CSS declaration, i.e. the `red` in `color: red`.
 * @return bool
 */
protected static function is_safe_css_declaration( $property_name, $property_value ) {
	$style_to_validate = $property_name . ': ' . $property_value;
	$filtered          = esc_html( safecss_filter_attr( $style_to_validate ) );

Changelog

VersionDescription
6.0.0Introduced.

User Contributed Notes

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