Installs, activates, and manages theme language packs. Subcommands Command Description wp language theme install Installs a given language for a theme. wp language theme is-installed Checks if a given language...
Create PHP files from PO files. Synopsis wp i18n make-php <source> [<destination>] Options <source> : Path to an existing PO file or a directory containing multiple PO files. [<destination>] :...
Create a POT file for a WordPress project. Scans PHP, Blade-PHP and JavaScript files for translatable strings, as well as theme stylesheets and plugin files if the source directory is...
Exports WordPress content to a WXR file. Generates one or more WXR files containing authors, terms, posts, comments, and attachments. WXR files do not include site configuration (options) or the...
Gets help on WP-CLI, or on a specific command. Synopsis wp help [<command>...] Options [<command>...] : Get help on a specific command. Examples # get help for `core` command wp...
Provides internationalization tools for WordPress projects. Subcommands Command Description wp i18n make-json Extract JavaScript strings from PO files and add them to individual JSON files. wp i18n make-mo Create MO...
Extract JavaScript strings from PO files and add them to individual JSON files. For JavaScript internationalization purposes, WordPress requires translations to be split up into one Jed-formatted JSON file per...
Create MO files from PO files. Synopsis wp i18n make-mo <source> [<destination>] Options <source> : Path to an existing PO file or a directory containing multiple PO files. [<destination>] :...
Inspects oEmbed providers, clears embed cache, and more. Subcommands Command Description wp embed cache Finds, triggers, and deletes oEmbed caches. wp embed fetch Attempts to convert a URL into embed...
Attempts to convert a URL into embed HTML. In non-raw mode, starts by checking the URL against the regex of the registered embed handlers. If none of the regex matches...