how to get the wordpress version from files 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.