Last active
April 4, 2019 19:12
-
-
Save FesoVel/6e3c34cf5ed79f825d247f206a5b7c7c to your computer and use it in GitHub Desktop.
Manually remove any .css file by it's URL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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