woocommerce_restore_order_stock

woocommerce_restore_order_stock

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_restore_order_stock') is found 1 times:

  • /includes/wc-stock-functions.php line 403
    	if ( $changes ) {
    		$order->add_order_note( __( 'Stock levels increased:', 'woocommerce' ) . ' ' . implode( ', ', $changes ) );
    	}
    
    	do_action( 'woocommerce_restore_order_stock', $order );
    }
    
    /**
     * See how much stock is being held in pending orders.
     *
     * @since 3.5.0