woocommerce_order_again_cart_item_data

woocommerce_order_again_cart_item_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_again_cart_item_data') is found 1 times:

  • /includes/class-wc-cart-session.php line 459
    			$product_id     = (int) apply_filters( 'woocommerce_add_to_cart_product_id', $item->get_product_id() );
    			$quantity       = $item->get_quantity();
    			$variation_id   = (int) $item->get_variation_id();
    			$variations     = array();
    			$cart_item_data = apply_filters( 'woocommerce_order_again_cart_item_data', array(), $item, $order );
    			$product        = $item->get_product();
    
    			if ( ! $product ) {
    				continue;
    			}