woocommerce_coupon_get_items_to_apply

woocommerce_coupon_get_items_to_apply

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.1

apply_filters('woocommerce_coupon_get_items_to_apply') is found 1 times:

  • /includes/class-wc-discounts.php line 350
    		 * @param WC_Discounts     $this The discounts instance.
    		 *
    		 * @return array The modified list of items that the coupon should be applied to.
    		 */
    		return apply_filters( 'woocommerce_coupon_get_items_to_apply', $items_to_apply, $coupon, $this );
    	}
    
    	/**
    	 * Apply percent discount to items and return an array of discounts granted.
    	 *
    	 * @since  3.2.0