safecss_filter_attr
safecss_filter_attr ( $css, $deprecated = '' )
Parameters:- (string) css A string of CSS rules.
- (string) deprecated Not used.
Returns:- (string) Filtered string of CSS rules.
Defined at:Change Log:- 4: .
- 4: .
- 5: .
- 5: .
- 5: .
- 5: .
- 5: .
- 5: .
- 5: .
- 6: .
- 6: .
- 6: .
- 6: .
- 6: .
- 6: .
- Introduced in WordPress: 2.8.1
- Deprecated in WordPress: —
Description
Filters an inline style attribute and removes disallowed rules.