Ignore a CSS?
-
How I know the name of a CSS
The name is whatsappme.min.css
// exclude main and child stylesheets from delivery optimization
function exclude_from_delivery_optimization($handle){
return in_array($handle, array(‘main-stylesheet’, ‘child-stylesheet’));
}
add_filter(‘speed-up-optimize-css-delivery’, ‘exclude_from_delivery_optimization’);Then??
// My changes
function exclude_from_delivery_optimization($handle){
return in_array($handle, array(‘whatsappme.min.css’, ‘whatsappme.min.css’));
}
add_filter(‘speed-up-optimize-css-delivery’, ‘exclude_from_delivery_optimization’);is It correct?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Ignore a CSS?’ is closed to new replies.