Cookbook

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.


Disable Emails
Inserts must-use plugin to disable outgoing emails.

Show Kinsta PHP Workers
Lists out current PHP workers on a site hosted with 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.

Hunt Unnecessary Files on Kinsta
Returns storage usage of debug.log file and private folder on Kinsta.

Disk Usage
Overall disk usage within home WordPress directory.

Install Event Calendar Pro
Installs The Event Calendar and Event Calendar Pro and activates license.

Kinsta Cache Purge
Purges cache on Kinsta.

Update Everything
Updates all plugins, themes, and WordPress core if needed.