woo_delist_item
Set a WooCommerce item to Draft with zero stock to instantly hide it from the shop.
Instructions
Set the WooCommerce product for an Item to Draft + stock 0, hiding it from the shop immediately. site: retail | dealer. confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | retail | |
| confirm | No | ||
| item_code | Yes |