swift_performance_critical_css_content

Filter for the merged critical CSS.

Parameters

$css

string, contains the merged CSS


Return

string


Example

// add extra CSS for critical CSS
add_filter('swift_performance_critical_css_content', function($css){
 $css .= '.some-extra-css{color:#ff0000}';
 return $css; 
});