Deleting Unused WPML Translation Strings with(out) WP-CLI

WPML is crazy popular and by far the preferred and dominant translation engine for WordPress. It is quite common for clients to complain that WPML is slow for one reason or another. One of the primary causes of a slow WPML site is the translation string tracking. By default, WPML wants to make you happy … Learn more…

Autodelete Unused Inactive WordPress Themes with WP-CLI

WordPress by default comes with a theme installed so you can get started. The default WordPress theme name generally is named after the year so like this year it is twentynineteen. The default theme is also very important for troubleshooting purposes to make sure that any conflict you may be experiencing on your site with … Learn more…

Automate WooCommerce Database Upgrade Process For Single and Multisite

If you run WooCommerce on a multisite, you have probably gone through the tedious process of running the WooCommerce data upgrader for each subsite. It is not so painful if you only have 5 subsites but imagine if you have 50 or 500! I had a client recently ask ‘I have a WooCommerce multisite with … Learn more…

Using WP-CLI to Troubleshoot Frontend WordPress Plugin and Theme Conflicts

The potential time savings for troubleshooting WordPress with WP-CLI can be incredible. Many of us have had to go through the plugin deactivation dance to isolate a conflict with a plugin and/or theme in WooCommerce or WordPress. This is an incredibly tedious task if you only use the wp-admin dashboard to deactivate each plugin one … Learn more…

How to Batch Zip Backup + Install WordPress Plugins with WP-CLI

During WordPress performance troubleshooting or malware investigation, you will often want to disable all of the plugins at some stage of your process. You may also want to back up all of the WordPress plugins as separate zip files for safekeeping just in case you lose track during the troubleshooting process. Re-installing all of the … Learn more…