Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Find installed WordPress on cPanel servers using SSH and the command line.
# Change the path below according to your hosting
# - Add a cron job to get an email every week :)
find /home/*/public_html/ -type f -iwholename "*/wp-includes/version.php" -exec grep -H "\$wp_version =" {} \;
# Empty lines to make it easy to copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment