woocommerce_get_items_key

woocommerce_get_items_key

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_get_items_key') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 1046
    			return 'tax_lines';
    		} elseif ( is_a( $item, 'WC_Order_Item_Coupon' ) ) {
    			return 'coupon_lines';
    		}
    		return apply_filters( 'woocommerce_get_items_key', '', $item );
    	}
    
    	/**
    	 * Remove item from the order.
    	 *
    	 * @param int $item_id Item ID to delete.