woocommerce_order_recalculate_coupons_coupon_object, $coupon_object, $coupon_code, $coupon_item, $this

woocommerce_order_recalculate_coupons_coupon_object, $coupon_object, $coupon_code, $coupon_item, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_order_recalculate_coupons_coupon_object, $coupon_object, $coupon_code, $coupon_item, $this') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 1601
    			 * Allow developers to filter this coupon before it gets re-applied to the order.
    			 *
    			 * @since 3.2.0
    			 */
    			$coupon_object = apply_filters( 'woocommerce_order_recalculate_coupons_coupon_object', $coupon_object, $coupon_code, $coupon_item, $this );
    
    			if ( $coupon_object ) {
    				$discounts->apply_coupon( $coupon_object, false );
    			}
    		}