Created
July 21, 2014 20:14
-
-
Save alessandrotesoro/c6a55809b6a7207e490d to your computer and use it in GitHub Desktop.
Remove Ver
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 tdp_remove_script_version( $src ){ | |
return remove_query_arg( 'ver', $src ); | |
} | |
add_filter( 'script_loader_src', 'tdp_remove_script_version' ); | |
add_filter( 'style_loader_src', 'tdp_remove_script_version' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment