|wp-includes/kses.php: safecss_filter_attr()|| |
Filters an inline style attribute and removes disallowed rules.
Filters the check for unsafe CSS in
Enables developers to determine whether a section of CSS should be allowed or discarded. By default, the value will be false if the part contains \ ( & } = or comments. Return true to allow the CSS part to be included in the output.
(bool) Whether the CSS in the test string is considered safe.
(string) The CSS string to test.
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.