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

Filters list of allowed CSS attributes.


Description Description


Parameters Parameters

$attr

(string[]) Array of allowed CSS attributes.


Top ↑

Source Source

File: wp-includes/kses.php

View on Trac


Top ↑

Changelog Changelog

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


Top ↑

User Contributed Notes User Contributed Notes

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