Summery Summery

Filters list of allowed CSS attributes.

Syntax Syntax

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

Parameters Parameters


(string[]) Array of allowed CSS attributes.

Source Source

File: wp-includes/kses.php


Changelog 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.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.