Support » Plugin: WooCommerce » What happened to the woocommerce_add_to_cart_message Filter?

  • Resolved Aaron Brazell

    (@technosailor)


    Your docs do not reflect the current version of WC (2.1.2). Docs still list this filter as being in woocommerce-functions.php which doesn’t exist any longer and there is no indication where the stuff that was in there was moved to.

    We use that filter and I can’t find it via global search.

    Is there a recommended alternative?

    https://wordpress.org/plugins/woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Nevermind, though the docs are still outdated with little developer direction.

    Paul

    (@madebypaul)

    Aaron-

    Did you find a solution to this? My old function is not working as of WC 2.1.2

    Just wondering if you figured this out or not.

    Yes, it would be better to share the solution rather than nevermind. I’m struggling to use this filter 2.1+ right now. I’ll post back if I find out anything of use.

    Ok, so in WC 2.1+ the filter is now called wc_add_to_cart_message

    Paul

    (@madebypaul)

    That’s great! Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘What happened to the woocommerce_add_to_cart_message Filter?’ is closed to new replies.