CoCart offers the ability to manage the plugin via the command-line, using WP CLI.
Command | Description |
---|---|
wp cocart update | Updates the CoCart database. |
wp cocart version | Returns the version of CoCart installed. |
wp cocart db-version | Returns the database version of CoCart installed. |
Command | Description |
---|---|
wp cocart plus version | Returns the version of CoCart Plus you have installed. |
Plugin | Plugin Slug |
---|---|
CoCart Core (Legacy) | cart-rest-api-for-woocommerce |
CoCart Core | cocart |
CoCart Plus | cocart-plus |
CoCart JWT Authentication | cocart-jwt-authentication |
What is WP-CLI?
How can I update a plugin using WP-CLI?
wp plugin update <plugin-slug>
, replacing plugin-slug with the name of the plugin you want to update. This will update the plugin to its latest version.Why can I not install a specific CoCart plugin using WP-CLI?
What are the advantages of using WP-CLI for plugin management?
Where can I find more information about WP-CLI?