Browse: Home / Classes / Learndash_WooCommerce /

Learndash_WooCommerce::process_new_order_item

Learndash_WooCommerce::process_new_order_item( int $item_id,  WC_Order_Item $item,  int $order_id )

Process new order item added to existing order or subscription


Description #


Parameters #

$item_id

(int) (Required) Order item ID.

$item

(WC_Order_Item) (Required) WC order item object.

$order_id

(int) (Required) WooCommerce order ID.


Return #

(void)


Source #

File: includes/woocommerce/includes/class-learndash-woocommerce.php


Changelog #

Changelog
Version Description
5.2.0 Introduced.