WP_Style_Engine_CSS_Declarations::sanitize_property( string $property ): string
Sanitizes property names.
Parameters
-
$property
string Required -
The CSS property.
Return
string The sanitized property name.
Source
File: wp-includes/style-engine/class-wp-style-engine-css-declarations.php
.
View all references
protected function sanitize_property( $property ) {
return sanitize_key( $property );
}
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |