Created
February 23, 2017 23:11
-
-
Save Abd-Ur-Rehman/1f3399032148f5f18453bc1266f4af9c 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
function lynt_remove_ver( $src ) { | |
$src = remove_query_arg('ver', $src); | |
return $src; | |
} | |
add_filter( 'script_loader_src', 'lynt_remove_ver' ); | |
add_filter( 'style_loader_src', 'lynt_remove_ver' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment