check current wordpress version code example
Example: check wordpress version from file
Instead, search for “?ver=” and look under the “link rel=’stylesheet’”
sections. You should see a line ending with “?ver=x.x.x”. The numbers are the
WordPress version.