woocommerce_coupon_get_items_to_apply, $items_to_apply, $coupon, $this

woocommerce_coupon_get_items_to_apply, $items_to_apply, $coupon, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_coupon_get_items_to_apply, $items_to_apply, $coupon, $this') is found 1 times:

  • /includes/class-wc-discounts.php line 351
    		 * @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