How to Check WordPress Version of Any Site (6 Methods)

The fastest way to check your WordPress version is to log into your site’s admin dashboard. The version number appears in the “At a Glance” panel on the main dashboard page, and again in the bottom-right corner of every admin screen. If you don’t have admin access, you can usually find the version in the site’s HTML source, its RSS feed, or by running a single WP-CLI command.

Below are 6 ways to check what version a WordPress site is running, ordered from fastest to most reliable.

Key Takeaways

  • Fastest on your own site: the WordPress admin dashboard under “At a Glance.”
  • Fastest on someone else’s site: view the HTML source and search for the generator meta tag.
  • Most reliable method (when you have server access): open /wp-includes/version.php and read the $wp_version variable.
  • Security plugins commonly hide the version from the public, so source code and RSS feed checks don’t always work on third-party sites.
  • The latest WordPress version is 6.9.4, available on WordPress.org.

Latest WordPress Version: 6.9.4
You can download the latest version of WordPress on wordpress.org


1. Check WordPress version in the dashboard

If you have admin access, this is the fastest check. Log into your WordPress dashboard and look at the “At a Glance” panel on the main admin screen. Your current WordPress version is shown right there (for example, “WordPress 6.7.2 running Twenty Twenty-Four theme”).

WordPress version displayed in the At a Glance section of the admin dashboard
WordPress version in dashboard

The version also appears in the bottom-right corner of every admin page, which is handy if the “At a Glance” widget has been hidden. If you see something like “Version 6.7.2” down there, that’s your number.


2. Check WordPress version by viewing page source

You can usually spot the WordPress version on any public site by checking its HTML source. Right-click on any page, choose “View Page Source” (Chrome, Firefox, Edge), and a new tab opens with the raw HTML.

Right-click View Page Source option in Chrome browser

Press Ctrl + F (or Cmd + F on Mac), search for the word generator, and look for a meta tag like this:

<meta name="generator" content="WordPress 6.7.2" />
Searching for generator tag in page source code

This won’t work on every WordPress site. A lot of security plugins (Solid Security, Wordfence, iThemes Security) strip the generator tag specifically to hide the version from attackers. If the search comes up empty, move on to the RSS feed method below.

WordPress version shown in the generator meta tag in source code

3. Check WordPress version via RSS feed

Most WordPress sites expose an RSS feed at yoursite.com/feed/. Open that URL in your browser, then Ctrl + F / Cmd + F and search for generator. You’ll see a line that looks like:

<generator>https://wordpress.org/?v=6.7.2</generator>
WordPress version visible in the RSS feed generator tag
WordPress version in yoursite.com/feed/

The RSS method often works even when the meta tag has been stripped from the main site, because some security plugins don’t touch the feed. If both are hidden, the site is running a tighter-than-average security setup.


4. Get WordPress version with PHP

If you’re writing a plugin or theme and need the version number at runtime (for example, to conditionally load code based on the WordPress version), use the built-in get_bloginfo() function or the global $wp_version variable:

// Option 1: get_bloginfo()
echo get_bloginfo( 'version' );

// Option 2: global $wp_version
global $wp_version;
echo $wp_version;

// Conditional example
if ( version_compare( get_bloginfo( 'version' ), '6.5', '>=' ) ) {
    // Do something only on WordPress 6.5 or later
}

version_compare() is a PHP built-in that handles version strings properly, so you don’t have to worry about “6.10” being treated as less than “6.2” with simple string comparison.

5. Check WordPress version with WP-CLI

If you have SSH access to your server, WP-CLI gives you the version in one command:

wp core version

It outputs just the version number (for example, 6.7.2). Pair it with wp core check-update to see if a newer version is available, or add --extra for additional info like the database version:

wp core version --extra

6. Read the version.php file

WordPress stores its version number in /wp-includes/version.php. Open the file over FTP, SFTP, or your hosting file manager and look for the $wp_version variable near the top:

$wp_version = '6.7.2';

This is the most reliable method because it reads straight from the WordPress core files, not from a UI element or a public-facing tag. It works even if the admin dashboard is broken, locked behind login issues, or stripped by a security plugin. The catch is you need server access to reach the file.


Why the WordPress version you’re running matters

A few reasons to care about which version is on your site:

  • Security and stability. Outdated versions accumulate known vulnerabilities that attackers actively scan for. Running the latest stable version is the single easiest thing you can do to reduce your risk.
  • Plugin and theme compatibility. Most plugins list a minimum and tested WordPress version. Knowing yours avoids install conflicts and the white screen of death.
  • Features. Each major WordPress release adds core functionality (block themes, XML sitemaps, Site Editor improvements) that can replace plugins you’re currently running.

Frequently asked questions

What version of WordPress am I running?

Log into your WordPress admin and look at the “At a Glance” panel on the main dashboard page. Your current version is listed there (for example, “WordPress 6.9.4 running Twenty Twenty-Four theme”). The version also appears in small text in the bottom-right corner of every admin screen.

How do I know if WordPress is up to date?

Go to Dashboard → Updates in WP admin. If a new version is available you’ll see a prompt to update. From the command line, wp core check-update returns the latest available version and flags whether your site is behind. The current stable release is 6.9.4.

Why can’t I see my WordPress version in the source code or RSS feed?

Security plugins like Solid Security, Wordfence, and WP Hardening strip the generator meta tag from both the HTML source and RSS feed to hide the version from attackers. If you own the site, check the admin dashboard instead. If it’s someone else’s site, try opening a random post or page at the ?feed=rss2 URL, which some plugins miss.

How do I update WordPress to the latest version?

From WP admin, go to Dashboard → Updates and click “Update Now.” From the command line, run wp core update with WP-CLI. Either way, back up your site first, because major version updates can break incompatible plugins or themes.

Is it safe to display my WordPress version publicly?

It’s safer to hide it. Attackers scan for sites running versions with known vulnerabilities, so publishing the version in the generator tag makes you a slightly easier target. Most security plugins strip the tag by default, and you can also remove it manually with a short snippet in your theme’s functions.php.

What is the latest WordPress version?

The current stable WordPress release is 6.9.4. You can always download the latest version directly from WordPress.org, and WordPress auto-updates minor releases by default (for example, 6.7.1 to 6.7.2) unless you’ve disabled that in wp-config.php.

Can I check the WordPress version without logging in?

Yes. The fastest options are viewing the page source (search for the generator meta tag) or opening the site’s RSS feed at /feed/. Both may be blocked by security plugins. If you have server access, opening /wp-includes/version.php always works.

Bottom line

For your own site, the admin dashboard (method 1) or wp core version (method 5) answer the question in under a minute. For someone else’s site, start with the page source or RSS feed; if a security plugin has stripped them, you’re out of non-invasive options short of server access. Either way, if you land here because you’re behind on updates, fix that first: the version number you’re checking is only useful if it’s the latest one. For more, see my guide to checking your PHP version or browse the full WordPress code snippets library.

Picture of Andy Feliciotti

Andy Feliciotti

Andy has been a full time WordPress developer for over 10 years. Through his years of experience has built 100s of sites and learned plenty of tricks along the way. Found this article helpful? Buy Me A Coffee

12 Responses

  1. Thank you very much for providing textual information, in addition to the video. Learning with videos is increasing amazingly, but reading text, at our own pace, is still better to really master and memorize contents.

  2. I’m a former web designer, trying to help an organization I’m involved with. I did not use WP when I was a web designer (Dreamweaver) but I’ve made a few WP and Joomla sites and am very familiar with the dashboard, I can still FTP to web hosts, etc. However, the site I’m trying to help with was set up by someone 8 years ago and they set it up at wordpress.com, not at a web hosting service, I suppose because it’s free hosting.
    So there is no Dashboard, I don’t know how to FTP to wordpress.com to try the php idea, the version is not in the generator tag, they don’t use RSS. I’ve looked all over the settings and other menu items.
    All I want to do is get rid of whatever is auto-generating .webp images!! I can’t find a plugin that’s doing this, and can’t find anywhere to turn it off. In the WP documentation, I see that this was somebody’s great idea to have WP automatically generate webp images!!! So I thought maybe it’s a super old version and if I got the latest update I’d have an option to turn this stupid thing off. But now I think it’s a NEW (bad) idea.

  3. I did not mean there is NO dashboard, but there is no version number anywhere and the dashboard is a little different from what I’m used to seeing.

  4. Never mind! I uploaded images and they did not automatically get converted to webp. I was able to save and convert to jpg the only image I needed using Paint.

    1. Glad you figured it out Barb! The open source version of WordPress does not converts to webp by default. It looks like you’re using WordPress.com, likely it’s an option in WordPress.com (you can email their support) I would highly recommend leaving it enabled though since it’ll make all aspects of your site faster.

  5. > When WordPress is installed it included a readme.html file. This file will reveal the WordPress version and is often front end accessible.

    This is wrong.

  6. Andy, WordPress still includes readme.html as part of any core files update. Some websites, through security plugins, rename that file to readme-severalrandomnumbers.html. Some hosting providers force a 403 error on readme.html (and license.txt) for the same reasons (security). WordPress will not NOT ship with readme.html, though.

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Tips Monthly
Get the latest from SmartWP to your inbox.