Posted in

Find WordPress Version from command line

To find the version of WordPress, you can check the file

wp-includes/version.php

Inside the file look for variable $wp_version

You can do this with the grep command

grep wp_version wp-includes/version.php
Find WordPress version

Using WP CLI

You can use WordPress CLI to find the version of WordPress with the command

wp core version
find WordPress version using wpcli
Visited 1 times, 1 visit(s) today

Leave a Reply

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