After every link that is enqueued in php using wp_enqueue_style, wordpress automatically inserts ?ver=
and the wordpress version number. For example .../style.css?ver=4.4.2
In chrome this makes it almost impossible sometimes to refresh the file.
I solved this one by adding a filter on the style loader hook that replaces the version number with the current time value. Works a treat, but not to be used in production!
If you want to remove :
Add the below to your functions.php file
For Custom Version
Version number is a parameter of
wp_enqueue_style()
.Per the Codex, here are all the parameters that wp_enqueue_style accepts.
So for example to load a stylesheet with a version number you’d do the following: