woo_delist_item
Set a WooCommerce product to draft status with zero stock to immediately hide it from the shop. Requires item code and confirmation.
Instructions
Set the WooCommerce product for an Item to Draft + stock 0, hiding it from the shop immediately. confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_code | Yes | ||
| confirm | No |