woocommerce_update_new_customer_past_order, $order_id, $customer

woocommerce_update_new_customer_past_order, $order_id, $customer

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_update_new_customer_past_order, $order_id, $customer') is found 1 times:

  • /includes/wc-user-functions.php line 361
    				$data_store->delete_by_order_id( $order->get_id() );
    				wc_downloadable_product_permissions( $order->get_id(), true );
    			}
    
    			do_action( 'woocommerce_update_new_customer_past_order', $order_id, $customer );
    
    			if ( $order->get_status() === OrderInternalStatus::COMPLETED ) {
    				++$complete;
    			}
    
    			++$linked;