W3cubDocs

/WordPress

apply_filters( 'safe_style_css', string[] $attr )

Filters list of allowed CSS attributes.

Parameters

$attr

(string[]) Array of allowed CSS attributes.

Source

File: wp-includes/kses.php

View on Trac

Changelog

Version Description
5.3.1 Added support for gradient backgrounds.
5.3.0 Added support for grid, flex and column layout properties. Extend background-* support of individual properties.
5.2.0 Added support for background-position and grid-template-columns.
5.1.0 Added support for text-transform.
5.0.0 Added support for background-image.
4.6.0 Added support for list-style-type.
4.4.0 Added support for min-height, max-height, min-width, and max-width.
2.8.1 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/safe_style_css