• Resolved aris00

    (@aris00)


    Hey there,

    I am trying to use one of the filters from the documentation.

    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 3 years, 9 months ago by aris00.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter callback not getting called’ is closed to new replies.