How to remove version query string for css and js file in wordpress, Just copy and paste below code into your theme's functions.php file or in your custom plugin file
Just copy and paste below code into your theme's functions.php file or in your custom plugin file
functions.php
<!--?php function _remove_script_version( $src ) { if ( strpos( $src, 'ver=' . get_bloginfo( 'version' ) ) ) $src = remove_query_arg( 'ver', $src ); return $src;}add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );add_filte
