The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

WP-CLI

Audit All Active Plugins – Version, Update Status, Vulnerability Check

A complete plugin audit in one command sequence. Shows the installed version, the latest available version, and the update status. Prerequisites: WP-CLI must be installed on your server. Verify with: wp –info Installation guide: https://wp-cli.org/#installing Know your WordPress root path This is the folder that contains wp-config.php. Typically: /var/www/html, /var/www/yourdomain, or /home/user/public_html Verify with: wp […]


Delete All Post Revisions from the Database

Revisions silently bloat the database on content-heavy sites. Safe to run – revisions are regenerated automatically as you edit. Steps to use: Run the first command to see the count Run the delete command – –force bypasses the trash (revisions can’t be trashed anyway) Run the count again to confirm it returns 0 Note: If […]


Search for a Specific Option Value in the Database

Faster than opening phpMyAdmin when you need to check or debug a specific wp_options value. Usage: Replace the option name with whatever you’re looking for. The –search flag accepts * wildcards – useful when you don’t know the exact option name a plugin uses. Use wp option update carefully – some options are serialized and […]



Check WordPress and Server Info Using WP-CLI

The first command to run when you SSH into an unfamiliar WordPress site. wp –info is the fastest orientation command – shows PHP path, WP-CLI version, WordPress root, and config location all at once. wp core check-update tells you if WordPress itself is outdated before you touch anything The wp eval commands surface the PHP […]


Check WordPress Core Files for Unexpected Changes

WP-CLI can verify your WordPress core files against the official checksums: If files have been modified or added unexpectedly, this can help identify potential issues. 💡 Particularly useful during WordPress security investigations.


Need to quickly check how large your WordPress database is?

Use this simple WP-CLI command: wp db size –tables  It shows the size of your WordPress database along with the size of individual tables. This is especially useful when troubleshooting slow sites, large databases, or before migrating a WordPress website. To see just the total database size: wp db size A simple command that can […]


Install WordPress via WP-CLI

Downloads and installs the latest version of WordPress using WP-CLI. Requirements Linux/macOS PHP MySQL WP-CLI installed Usage chmod +x install-wordpress.sh ./install-wordpress.sh




Proudly supported by