Main Topics

  • Managing the WordPress oEmbed Cache with WP-CLI

    If you've made changes to your oEmbed providers or handlers, you might need to refresh your oEmbed cache to reflect the new changes. This scenario may also apply if an oEmbed provider has changed things around on their end. In this article, we'll show you how to use WP-CLI to manage your WordPres...

  • Managing WordPress Cron Events with WP-CLI

    If you need to make changes to scheduled events within your WordPress site, WP-CLI is a great tool to have. In this article, we'll show you how to run, create, and delete events within the WordPress cron, using WP-CLI. Displaying All Cron Events To display a list of all cron events currently sche...

  • Testing the WordPress Cron with WP-CLI

    If you're having trouble with scheduled tasks within WordPress, you might have an issue with your cron configuration. Here's how to test to ensure that the WordPress cron system is working properly, using WP-CLI. Simply use the following command from inside your WordPress site's root directory: w...

  • Managing WordPress Comments with WP-CLI

    WordPress makes managing comments easy to do when logged into the WordPress admin, but what if you want to manage your comments using a command line interface? In this article, we'll show you how to manage comments within your WordPress site using WP-CLI. Showing All Comments Using WP-CLI, you ca...

  • Changing WordPress User Role Permissions with WP-CLI

    WordPress includes several user roles with sensible permissions that cater to most sites, but what if you need to modify a role to add or remove capabilities? You can easily modify a role's permissions using WP-CLI. For a list of all WordPress roles and capabilities, see the Roles and Capabilitie...

  • Using WP-CLI Command Line Tools

    All VPS and Enterprise plans come with a powerful command line tool known as WP-CLI. For an overview of basic commands, open terminal and enter the following. Accessing WP-CLI Since WP-CLI is installed by default on all VPS/Enterprise accounts, using it is easy. Here's how to do it: Connect to y...

  • WP-CLI Database Commands

    WP-CLI has some powerful tools built in for database management, here are some of the most used/convenient features. (If you haven't done so please view Using WP-CLI Command Line Tools first) Note: Please use caution when performing commands on the database and always make sure to take a backup f...

  • WordPress Multisite Database Commands

    WP-CLI also has powerful commands for working within WordPress Multisite. Here are a few that are helpful for working within the database. Note: These commands are for subfolder multisite only. If you are using multiple domains in your sub sites please contact support. One thing to note when work...