woocommerce_trash_order, $order_id
woocommerce_trash_order, $order_id
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_trash_order, $order_id') is found 1 times:
- /src/Internal/DataStores/Orders/OrdersTableDataStore.php line 2693
* @since 2.7.0 * * @param int $order_id ID of the order that has been trashed. */ do_action( 'woocommerce_trash_order', $order_id ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment } } } /** * Handles the deletion of an order from the orders table when sync is disabled: