woocommerce_update_new_customer_past_order

woocommerce_update_new_customer_past_order

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_update_new_customer_past_order') is found 1 times:

  • /includes/wc-user-functions.php line 271
    				$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() === 'wc-completed' ) {
    				$complete++;
    			}
    
    			$linked++;