create_timed_product
Set a time-availability rule for a WooCommerce product to restrict its visibility on the menu based on selected days and time windows.
Instructions
[WPCafe Pro] Create a time-availability rule for a product — restrict when it appears on the menu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule | Yes | Schedule object defining available days and time windows. Example: { monday: { enabled: true, start: '06:00', end: '11:00' } } | |
| product_id | Yes | WooCommerce product ID to apply the rule to |