Collection of WP-CLI commands and bash scripts for automating WordPress maintenance. Easily run on one or many WordPress websites using CaptainCore or an SSH script from scratch.
Apply HTTPS URLs
Changes HTTP references to HTTPS for a certain domain name.
Convert MyISAM database tables to InnoDB
Finds and converts any database tables using MyISAM storage engine to InnoDB.
Inserts must-use plugin to disable outgoing emails.
Overall disk usage within home WordPress directory.
Download file from Google Drive shared link
Will download from a Google Drive shared link using wget. Swap out
<file-name> with Google's unique file ID shown in shared URL and a file name where you want to download it to.
Hunt Unnecessary Files on Kinsta
Returns storage usage of debug.log file and private folder on Kinsta.
Install Event Calendar Pro
Installs The Event Calendar and Event Calendar Pro and activates license.
Kinsta Cache Purge
Purges cache on Kinsta.
Overriding Recovery Emails
Adds RECOVERY_MODE_EMAIL to wp-config.php file.
Search for User by Email Address
Searches for a WordPress user account by email address. Will return the name of the site if found.
Send Test Email
Sends a test email.
Show Kinsta PHP Workers
Lists out current PHP workers on a site hosted with Kinsta.
Updates all plugins, themes, and WordPress core if needed.