Add HPOS order trashing/untrashing to webhooks

This commit is contained in:
Jorge Torres 2023-08-11 14:57:57 -03:00
parent d44e882f5d
commit 54d06641eb
1 changed files with 2 additions and 0 deletions

View File

@ -997,9 +997,11 @@ class WC_Webhook extends WC_Legacy_Webhook {
),
'order.deleted' => array(
'wp_trash_post',
'woocommerce_trash_order',
),
'order.restored' => array(
'untrashed_post',
'woocommerce_untrash_order',
),
'product.created' => array(
'woocommerce_process_product_meta',