I have just taken over someone's hosted WordPress site. How do I find out what version he is running?
I have just taken over someone's hosted WordPress site. How do I find out what version he is running?
If you came here to find out about how to check WordPress version programmatically, then you can do it with the following code.
// Get the WP Version global.
global $wp_version;
// Now use $wp_version which will return a string value.
echo '<pre>' . var_dump( $wp_version ) . '</pre>';
// Output: string '4.6.1' (length=5)
Cheers!