• Resolved themefour

    (@themefour)


    hi, how to remove this filter

    add_filter( ‘woocommerce_coupon_is_valid’, array( $this, ‘ensure_vendor_coupon’ ), 10, 2 );

    this is not work!
    remove_action( ‘init’, ‘woocommerce_coupon_is_valid’, 10, 2 );

Viewing 1 replies (of 1 total)
  • Hello @themefour ,

    Thanks for reaching out.

    You are supposed to use the filter like this –

    add_filter( 'dokan_ensure_vendor_coupon', '__return_false' );

    Let me know if you need any other help.

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘remove filter’ is closed to new replies.