woocommerce_untrash_order, $order->get_id(

woocommerce_untrash_order, $order->get_id(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_untrash_order, $order->get_id(') is found 1 times:

  • /src/Internal/DataStores/Orders/OrdersTableDataStore.php line 2902
    		 *
    		 * @param int    $order_id        Order ID.
    		 * @param string $previous_status The status of the order before it was trashed.
    		 */
    		do_action( 'woocommerce_untrash_order', $order->get_id(), $previous_status );
    
    		// Customer order emails (and other transactional emails) are dispatched via WC_Emails
    		// listeners on the woocommerce_order_status_* actions. Suppress dispatch for this order
    		// while we restore it so customers aren't re-notified about an order they
    		// already received emails for. The status transition actions themselves still fire,
    		// so any 3rd-party code hooked into them keeps working.