Wp wc tool

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
wp wc tool

usage: wp wc tool list [--fields=<fields>] [--field=<field>] [--format=<format>]
   or: wp wc tool run <id>

See 'wp help wc tool <command>' for more information on a specific command.

Uitvoer wp wc tool --user=4:

+------------------------------------+----------------------------------+-----------------------------+-----------------------------------------------------------------------+
| id                                 | name                             | action                      | description                                                           |
+------------------------------------+----------------------------------+-----------------------------+-----------------------------------------------------------------------+
| clear_transients                   | WooCommerce transients           | Clear transients            | Clear the product/shop transients cache.                              |
| clear_expired_transients           | Expired transients               | Clear transients            | Clear ALL expired transients from WordPress.                          |
| delete_orphaned_variations         | Orphaned variations              | Delete orphaned variations  | Delete all variations which have no parent.                           |
| clear_expired_download_permissions | Used-up download permissions     | Clean up download           | Delete expired download permissions and permissions                   |
|                                    |                                  | permissions                 | with 0 remaining downloads.                                           |               
| regenerate_product_lookup_tables   | Product lookup tables            | Regenerate                  | Regenerate product lookup table data. This process may                |
|                                    |                                  |                             | take a while                                                          |
| recount_terms                      | Term counts                      | Recount terms               | Recount product terms - useful when changing your                     |
|                                                                                                       settings in a way which hides products from the catalog.              |
| reset_roles                        | Capabilities                     | Reset capabilities          | Reset the admin, customer and shop_manager roles to                   |
|                                                                                                       default. Use this if your users cannot access all of the WooCommerce  | 
|                                    |                                  |                             | admin pages.                                                          |
| clear_sessions                     | Clear customer sessions          | Clear                       | Delete all customer session data from the                             |
|                                                                                                       database, including current carts and saved carts in the database     |
| clear_template_cache               | Clear template cache             | Clear                       | Empty the template cache.                                             |
| install_pages                      | Create default WooCommerce pages | Create pages                | Install all the missing WooCommerce pages.                            |
|                                                                                                       Pages already defined and set up will not be replaced                 |
| delete_taxes                       | Delete WooCommerce tax rates     | Delete tax rates            | Delete ALL of your tax rate; use with caution                         |
|                                                                                                       This action cannot be reversed                                        |
| regenerate_thumbnails              | Regenerate shop thumbnails       | Regenerate                  | Regenerate all shop thumbnails to match your theme and/or             |
                                                                                                        image settings                                                        |
| db_update_routine                  | Update database                  | Update database             | Update your WooCommerce database to the latest                        |
|                                                                                                       version. Please ensure you make sufficient backups before proceeding  |
| verify_db_tables                   | Verify base database tables      | Verify database             | Verify if all base database tables are present.                       |            
| clear_woocommerce_analytics_cache  | Clear analytics cache            | Clear                       | Reset the cached values used in WooCommerce Analytics. If numbers     |
|                                    |                                  |                             | still look off, try Reimporting Historical Data                       |
+------------------------------------+----------------------------------+-----------------------------+-----------------------------------------------------------------------+