最近更新的页面
Shell Friends
As you advance upon your use of WP-CLI, you'll find that a little bit of command line knowledge c...
Documentation Standards
To promote similarity and consistency between WP-CLI commands, we've produced these documentation...
Config
WP-CLI has a series of global parameters (e.g. --path=<path> and --user=<user>) which work with...
Identify a Plugin or Theme Conflict
Is WP-CLI not working with your WordPress install, but you don't know why? It might be a plugin o...
How to put the site in maintenance mode
WP-CLI offers a command to enable, disable maintenance mode and check if maintenance mode is enab...
Write a custom check to perform an arbitrary assertion
Because wp doctor checks are built on top of a foundational abstraction, it's relatively straigh...
Write a check for verifying contents of WordPress files
One of the check types included in wp doctor is File_Contents, or the ability to check all or a...
Write a check for asserting the value of a given option
One of the check types included in wp doctor is Option_Value, or the ability to assert that a g...
Write a check for asserting the value of a given constant
One of the check types included in wp doctor is Constant_Definition, or the ability to assert t...
Force output to a specific locale
WP-CLI always outputs English because it doesn't support localization. But, because WordPress sup...
Doctor Guides
Here are some helpful guides for using wp doctor: Default doctor diagnostic checks Customize doc...
Installation example on Ubuntu 24.04
Import signing keys: cd /usr/share/keyrings && sudo wget https://collaboraoffice.com/downloads/gp...
Nav_Menu_Item Revisions
Schema The schema defines all the fields that exist within a nav_menu_item revision record. Any r...
Menu Locations
Schema The schema defines all the fields that exist within a menu location record. Any response f...
Media
Schema The schema defines all the fields that exist within a Media Item record. Any response from...
Comments
Schema The schema defines all the fields that exist within a comment record. Any response from th...
Categories
Schema The schema defines all the fields that exist within a category record. Any response from t...
Editor Blocks
Schema The schema defines all the fields that exist within a Editor Block record. Any response fr...
Block Types
Schema The schema defines all the fields that exist within a block type record. Any response from...
Block Revisions
Schema The schema defines all the fields that exist within a Block Revision record. Any response ...