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.9.3.3

do_action('woocommerce_update_new_customer_past_order') is found 1 times:

  • /includes/wc-user-functions.php line 272
    				$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++;