From the course: Upgrading Legacy WordPress Projects: Modernize Workflows and Codebase
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Working with WP-CLI - WordPress Tutorial
From the course: Upgrading Legacy WordPress Projects: Modernize Workflows and Codebase
Working with WP-CLI
- [Narrator] If you're tired of navigating the WordPress admin for routine tasks, WP-CLI can save you time by handling updates, database operations, and site management from the command line. In this video, we'll cover what WP-CLI is and essential commands for everyday WordPress tasks. Let's get started. WP-CLI is a powerful command line tool for managing WordPress without using the web interface. It will allow you to update WordPress core, themes, and plugins, manage users, posts, and database operations, and even automate administrative tasks for faster site management. Using WP-CLI can speed up workflows and reduces reliance on the admin panel. Let's take a look at a WP-CLI command and break it down into its components. First, we start with the base command, which will be wp, followed by a command and possibly a sub command. After that, we will have options and arguments. In our first example, we have WP plugin list. As you might expect, this will list the plugins that are…