Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Find installed WordPress on cPanel servers using SSH and the command line. https://silvanhagen.com/find-old-wordpress-installs/
# 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
You can’t perform that action at this time.