Retrieves oEmbed providers. Subcommands Command Description wp embed provider list Lists all available oEmbed providers. wp embed provider match Gets the matching provider for a given URL. wp embed provider...
Loads and executes a PHP file. Note: because code is executed within a method, global variables need to be explicitly globalized. Synopsis wp eval-file <file> [<arg>...] [--skip-wordpress] [--use-include] Options <file>...
Executes arbitrary PHP code. Note: because code is executed within a method, global variables need to be explicitly globalized. Synopsis wp eval <php-code> [--skip-wordpress] Options <php-code> : The code to...
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...
Reviews current WP-CLI info, checks for updates, or views defined aliases. Subcommands Command Description wp cli alias Retrieves, sets and updates aliases for WordPress Installations. wp cli cache Manages the...
Creates, updates, deletes, and moderates comments. Subcommands Command Description wp comment approve Approves a comment. wp comment count Counts comments, on whole blog or on a given post. wp comment...
Generates and reads the wp-config.php file. Subcommands Command Description wp config create Generates a wp-config.php file. wp config delete Deletes a specific constant or variable from the wp-config.php file. wp...
Downloads, installs, updates, and manages a WordPress installation. Subcommands Command Description wp core check-update Checks for WordPress updates via Version Check API. wp core download Downloads core WordPress files. wp...
Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules. Subcommands Command Description wp cron event Schedules, runs, and deletes WP-Cron events. wp cron schedule Gets WP-Cron schedules. wp cron test...
Performs basic database operations using credentials stored in wp-config.php. Subcommands Command Description wp db check Checks the current status of the database. wp db clean Removes all tables with $table_prefix...