Title: remove filter
Last modified: August 24, 2020

---

# remove filter

 *  Resolved [themefour](https://wordpress.org/support/users/themefour/)
 * (@themefour)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-filter-3/)
 * 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)

 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-filter-3/#post-13307937)
 * Hello [@themefour](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/dokan-lite/assets/icon-256x256.gif?rev=3239229)
 * [Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy](https://wordpress.org/plugins/dokan-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dokan-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dokan-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dokan-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dokan-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dokan-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/remove-filter-3/#post-13307937)
 * Status: resolved