woocommerce/includes/abstracts
urosmil 18e7b25eab Filter for line items in abstract-wc-order.php (#17759)
* Filter for line items in abstract-wc-order.php

When creating custom product class there are places where line items is only value that can be handled. This is one of that places causing subtotal values after checkout not to be calculated and displayed.

* Extension to woocommerce_order_get_items filter

This is extension to filter as get_items() is used for different classes and types. This way it would be possible to distinct which type is called for items.

* Removed filtering inside subtotal function

$types parameter is added as parameter for filter inside get_items() function so previous commit is reverted as there is no need for it.
2017-11-23 10:00:03 +00:00
..
abstract-wc-data.php Admin metaboxes views translation escaping fix (#17776) 2017-11-21 17:50:30 +00:00
abstract-wc-deprecated-hooks.php Display correct deprecated version for hooks 2017-11-22 15:21:32 -02:00
abstract-wc-integration.php Settings api 2015-12-14 14:03:46 +00:00
abstract-wc-log-handler.php Add WC_Log_Handler_Interface 2017-01-24 14:10:05 +01:00
abstract-wc-object-query.php Migrate wc_get_orders 2017-05-12 11:45:01 -07:00
abstract-wc-order.php Filter for line items in abstract-wc-order.php (#17759) 2017-11-23 10:00:03 +00:00
abstract-wc-payment-gateway.php Include add_payment_method in gateway abstract 2017-08-07 12:38:50 +01:00
abstract-wc-payment-token.php Deprecated $context on get_display_name. 2017-03-15 08:21:02 -07:00
abstract-wc-product.php Merge pull request #17817 from JeroenSormani/exclude-virtual-from-shipping-tax 2017-11-21 13:21:13 +00:00
abstract-wc-rest-controller.php invalid return 2017-08-23 14:27:30 +01:00
abstract-wc-rest-crud-controller.php If sorting by date in the REST API, fallback to ID 2017-09-25 13:31:25 +01:00
abstract-wc-rest-posts-controller.php Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
abstract-wc-rest-shipping-zones-controller.php Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
abstract-wc-rest-terms-controller.php Fix error when invalid parent term 2017-10-03 17:59:58 -03:00
abstract-wc-session.php More abspath 2017-05-23 15:40:19 +01:00
abstract-wc-settings-api.php Fix missing return statement (#16148) 2017-07-20 18:01:14 +01:00
abstract-wc-shipping-method.php Pass WC_Shipping_Method instance to availability filters 2017-08-11 16:36:18 -04:00
abstract-wc-widget.php Fix missing return statement (#16148) 2017-07-20 18:01:14 +01:00