-
-
Save vncloudsco/75a33a8d3159158b18f753f30fc4fd47 to your computer and use it in GitHub Desktop.
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
// Remove Query Strings from enqueue scripts | |
add_filter( 'style_loader_src', 'remove_query_string' ); | |
add_filter( 'script_loader_src', 'remove_query_string' ); | |
function remove_query_string( $url ) | |
{ | |
return remove_query_arg( 'ver', $url ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment