From the course: WordPress: WP-CLI
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Reading and changing options - WordPress Tutorial
From the course: WordPress: WP-CLI
Reading and changing options
- [Instructor] What would a WordPress tool be without the ability to manage options from the WP options table? WP CLI lets you list, add, update and more with the WP option command. And you could see that there are several sub commands here including advanced ones like patch and pluck. And I'll say right off the bat that the WP options table has become a bit of a catch all for any data that plugins and themes you might want to store including customizer information. So the amount of WP options stored in an active WordPress site can be pretty big and unwieldily, we're using a relatively new site and I'm going to show you how to find an update information as easily as possible but on a more active site, you might want to have some idea of what you're looking for already. So let's get started with WP option list. This will list all of the options on our website and you can see there's lots of information here. We have the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.