Used By
| Used By | Description |
|---|---|
| wp-includes/kses.php: safecss_filter_attr() | Filters an inline style attribute and removes disallowed rules. |
Filters list of allowed CSS attributes.
(string[]) Array of allowed CSS attributes.
File: wp-includes/kses.php
| 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