WP_Style_Engine_CSS_Declarations::sanitize_property( string $property ): string

Sanitizes property names.


Parameters

$property string Required
The CSS property.

Top ↑

Return

string The sanitized property name.


Top ↑

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 );
}


Top ↑

Changelog

Changelog
Version Description
6.1.0 Introduced.

Top ↑

User Contributed Notes

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