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

do_action('woocommerce_update_new_customer_past_order') is found 1 times:

  • /includes/wc-user-functions.php line 356
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
        $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;