woocommerce_coupon_get_items_to_validate filter-hook . WC 3.3.2
Get items to validate.
Usage
add_filter( 'woocommerce_coupon_get_items_to_validate', 'filter_function_name_8659', 10, 2 ); function filter_function_name_8659( $items, $that ){ // filter... return $items; }
- $items
- -
- $that
- -
Changelog
Since 3.3.2 | Introduced. |
Where the hook is called
woocommerce_coupon_get_items_to_validate
woocommerce/includes/class-wc-discounts.php 155
return apply_filters( 'woocommerce_coupon_get_items_to_validate', $this->get_items(), $this );