Project Type: WordPress Reference

wp rewrite list

Gets a list of the current rewrite rules. Synopsis wp rewrite list [--match=<url>] [--source=<source>] [--fields=<fields>] [--format=<format>] Options [--match=] Show rewrite rules matching a particular URL. [--source=] Show rewrite rules from...

wp rewrite structure

Updates the permalink structure. Sets the post permalink structure to the specified pattern. To regenerate a .htaccess file with WP-CLI, you'll need to add the mod_rewrite module to your WP-CLI...

wp rewrite

Lists or flushes the site's rewrite rules, updates the permalink structure. See the WordPress Rewrite API and WP Rewrite class reference. Subcommands Command Description wp rewrite flush Flushes rewrite rules...

wp plugin

Manages plugins, including installs, activations, and updates. See the WordPress Plugin Handbook developer resource for more information on plugins. Subcommands Command Description wp plugin activate Activates one or more plugins....

wp post-type get

Gets details about a registered post type. Synopsis wp post-type get <post-type> [--field=<field>] [--fields=<fields>] [--format=<format>] Options Post type slug. [--field=] Instead of returning the whole taxonomy, returns the value of...

wp post-type list

Lists registered post types. Synopsis wp post-type list [--<field>=<value>] [--field=<field>] [--fields=<fields>] [--format=<format>] Options [--=] Filter by one or more fields (see get_post_types() first parameter for a list of available fields)....

wp post-type

Retrieves details on the site's registered post types. Get information on WordPress' built-in and the site's custom post types. Subcommands Command Description wp post-type get Gets details about a registered...

wp post

Manages posts, content, and meta. Subcommands Command Description wp post create Creates a new post. wp post delete Deletes an existing post. wp post edit Launches system editor to edit...

wp rewrite flush

Flushes rewrite rules. Resets WordPress' rewrite rules based on registered post types, etc. To regenerate a .htaccess file with WP-CLI, you'll need to add the mod_rewrite module to your wp-cli.yml...

wp maintenance-mode

Activates, deactivates or checks the status of the maintenance mode of a site. Subcommands Command Description wp maintenance-mode activate Activates maintenance mode. wp maintenance-mode deactivate Deactivates maintenance mode. wp maintenance-mode...

← Back to Chubes.net