how to check wordpress version in php files code example
Example 1: chow to check which php version running wordpress
<?php phpinfo(); ?>
Example 2: 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.