WP_Style_Engine_CSS_Declarations::sanitize_property( string $property ): string

In this article

Sanitizes property names.

Parameters

$propertystringrequired
The CSS property.

Return

string The sanitized property name.

Source

protected function sanitize_property( $property ) {
	return sanitize_key( $property );
}

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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