Title: Filter callback not getting called
Last modified: February 9, 2021

---

# Filter callback not getting called

 *  Resolved [aris00](https://wordpress.org/support/users/aris00/)
 * (@aris00)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/filter-not-getting-called/)
 * Hey there,
 * I am trying to use one of the filters from the [documentation](https://moomoo-agency.gitbook.io/uni-cpo-4-documentation/for-developers/actions-filters).
 *     ```
       add_filter('uni_cpo_in_cart_formula_before_formula_eval', 'ks_DEBUG_unicpo', 10, 3);
       function ks_DEBUG_unicpo($main_formula, $product_data, $product_id) {
       	error_log(sprintf('ks_DEBUG_unicpo'));
       }
       ```
   
 * The documentation suggests that the hook is available in the free version but
   my callback is not called in the cart page (or the product page). Other cart 
   page filters I have added in the same file for woocommerce work.
 * Is the hook still available?
 * Regards
    -  This topic was modified 5 years, 1 month ago by [aris00](https://wordpress.org/support/users/aris00/).

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

 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/filter-not-getting-called/#post-14023220)
 * Hi,
 * Please, search in code if such filter exists. It should be there.
 *  Thread Starter [aris00](https://wordpress.org/support/users/aris00/)
 * (@aris00)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/filter-not-getting-called/#post-14024398)
 * OK. Can’t find it in the code. Will use something else.
 * Thanks.

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

The topic ‘Filter callback not getting called’ is closed to new replies.

 * ![](https://ps.w.org/uni-woo-custom-product-options/assets/icon-256x256.jpg?rev
   =1764217)
 * [Product Options and Price Calculation Formulas for WooCommerce – Uni CPO](https://wordpress.org/plugins/uni-woo-custom-product-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uni-woo-custom-product-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uni-woo-custom-product-options/)
 * [Active Topics](https://wordpress.org/support/plugin/uni-woo-custom-product-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uni-woo-custom-product-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uni-woo-custom-product-options/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [aris00](https://wordpress.org/support/users/aris00/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/filter-not-getting-called/#post-14024398)
 * Status: resolved