Title: remove_filter Woocommerce
Last modified: September 25, 2018

---

# remove_filter Woocommerce

 *  Resolved [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove_filter-2/)
 * Dear all,
    Using Woocommerce Product Bundles, which sets a filter in the shopping
   cart: In plugins\woocommerce-product-bundles\includes\class-wc-pb-display.php:
 *     ```
       // Modify titles.
       add_filter( 'woocommerce_cart_item_name', array( $this, 'cart_item_title' ), 10, 3 );
       ```
   
 * In a plugin, I want to remove this filter in a certain condition:
    `remove_filter('
   woocommerce_cart_item_name', array( 'WC_PB_Display', 'cart_item_title' ), 10,
   3 );`
 * This however, is not working. I have no idea how to debug this. Can someone point
   me in the right direction?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove_filter-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove_filter-2/#post-10720751)
 * Where did you get the plugin?
 * When I try to search I get: [https://wordpress.org/plugins/search/woocommerce-product-bundle/](https://wordpress.org/plugins/search/woocommerce-product-bundle/)
 *  Thread Starter [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove_filter-2/#post-10720754)
 * [https://woocommerce.com/products/product-bundles/](https://woocommerce.com/products/product-bundles/)
 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove_filter-2/#post-10721803)
 * Hmm. That code is not publicly available. Why don’t you check the documentation
   and support options that are offered by the developer? [https://docs.woocommerce.com/document/bundles/](https://docs.woocommerce.com/document/bundles/)
 *  Thread Starter [darkallman](https://wordpress.org/support/users/darkallman/)
 * (@darkallman)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/remove_filter-2/#post-10724230)
 * I was already investigating the documents, and finally I found the solution.
   `
   add_filter( 'woocommerce_bundle_is_editable_in_cart', array( $this, 'bundle_editable'),
   10, 3 );`

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘remove_filter Woocommerce’ is closed to new replies.

## Tags

 * [bundles](https://wordpress.org/support/topic-tag/bundles/)
 * [remove_filter](https://wordpress.org/support/topic-tag/remove_filter/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [darkallman](https://wordpress.org/support/users/darkallman/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/remove_filter-2/#post-10724230)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
