WP_Style_Engine_CSS_Declarations::sanitize_property() – Sanitizes property names.

You appear to be a bot. Output may be restricted

Description

Sanitizes property names.

Usage

$string = WP_Style_Engine_CSS_Declarations::sanitize_property( $property );

Parameters

$property
( string ) required – The CSS property.

Returns

string The sanitized property name.

Source

File name: wordpress/wp-includes/style-engine/class-wp-style-engine-css-declarations.php


Lines:

1 to 4 of 4
  protected function sanitize_property( $property ) {
    return sanitize_key( $property );
  }
 

 View on GitHub View on Trac