Using WP-CLI to Batch Update Serialized wp_options Settings

More WordPress plugins and themes are storing their settings as serialized options in the wp_options table. Sometimes we need to batch update these serialized settings for one reason or another and before it was only possible to update these programmatically with WP-CLI if the setting in the database was a simple non-serialized version. Luckily WP-CLI … Learn more…

Find out which WordPress Database Options Belong to Plugins

This post will show you how to identify which WordPress plugin options in the wp_options table belong to a specific plugin. Normally developers will search in the wp_options table manually with phpMyAdmin or Adminer (WordPress plugin version) but this can often be very tedious as you have to paginate though sometimes hundreds of pages! When … Learn more…

Converting WordPress Database Tables from MyISAM to InnoDB with WP-CLI

In this post I will show you how to easily convert your WordPress database tables from the MyISAM engine to the InnoDB engine with WP-CLI. In case you are wondering why you would want to do this database conversion, this StackOverflow post highlights the improvements of InnoDB over MySIAM (taking advantage of multiple cores is … Learn more…

How to Transfer + Clean WPEngine Backup Zip for Local Installation

If you have ever tried to do some tests on a local installation with a WordPress site hosted on WPEngine you may have found that it doesn’t always work right out of the box. Sometimes you just need to use XDebug with PHPStorm in a local troubleshooting environment to efficiently debug a site so a local … Learn more…

How to Batch Import Multiple WordPress MySQL Table Dumps

I was migrating a huge, high traffic WordPress site for a client on Codeable to Kinsta. Unfortunately they didn’t have FTP access or details so I had to get creative. Luckily, they were using VaultPress so I could generate a backup zip to download from there. Much to my surprise, I learned that the database … Learn more…