Skip to content

Instantly share code, notes, and snippets.

@FesoVel
Last active April 4, 2019 19:12
Show Gist options
  • Save FesoVel/6e3c34cf5ed79f825d247f206a5b7c7c to your computer and use it in GitHub Desktop.
Save FesoVel/6e3c34cf5ed79f825d247f206a5b7c7c to your computer and use it in GitHub Desktop.
Manually remove any .css file by it's URL.
add_filter( 'style_loader_src', function($href){
if(strpos($href, "//example.com/") === false) {
return $href;
}
return false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment