safe_style_css

safe_style_css

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('safe_style_css') is found 1 times:

  • /wp-includes/kses.php line 1796
    	 * @since 5.0.0 Added support for `background-image`.
    	 *
    	 * @param array $attr List of allowed CSS attributes.
    	 */
    	$allowed_attr = apply_filters( 'safe_style_css', array(
    		'background',
    		'background-color',
    		'background-image',
    
    		'border',
    		'border-width',
    

See this hook used in plugins: