Imports files as attachments, regenerates thumbnails, or lists registered image sizes. Subcommands Command Description wp media fix-orientation Fix image orientation for one or more attachments. wp media image-size Lists image...
Lists, creates, assigns, and deletes the active theme's navigation menus. See the Navigation Menus reference in the Theme Handbook. Subcommands Command Description wp menu create Creates a new menu. wp...
Perform network-wide operations. Subcommands Command Description wp network meta Gets, adds, updates, deletes, and lists network custom fields. wp network meta Gets, adds, updates, deletes, and lists network custom fields....
Retrieves and sets site options, including plugin and WordPress settings. See the Plugin Settings API and the Theme Options for more information on adding customized options. Subcommands Command Description wp...
Lists, installs, and removes WP-CLI packages. WP-CLI packages are community-maintained projects built on WP-CLI. They can contain WP-CLI commands, but they can also just extend WP-CLI in some way. Learn...
Update PO files from a POT file. This behaves similarly to the msgmerge command. Synopsis wp i18n update-po <source> [<destination>] Options <source> : Path to an existing POT file to...
Imports content from a given WXR file. Provides a command line interface to the WordPress Importer plugin, for performing data migrations. Use define( 'IMPORT_DEBUG', true ); for more verbosity during...
Installs, activates, and manages core language packs. Subcommands Command Description wp language core activate Activates a given language. (Deprecated: use wp site switch-language) wp language core install Installs a given...
Installs, activates, and manages language packs. Subcommands Command Description wp language core Installs, activates, and manages core language packs. wp language plugin Installs, activates, and manages plugin language packs. wp...
Installs, activates, and manages plugin language packs. Subcommands Command Description wp language plugin install Installs a given language for a plugin. wp language plugin is-installed Checks if a given language...