• Resolved johnboy85

    (@johnboy85)


    I was using the following code snippet which worked great to trigger Woocommerce webhooks immediately.

    function custom_woocommerce_disable_async_webhook() {
    return false;
    }
    add_filter(‘woocommerce_webhook_deliver_async’, ‘custom_woocommerce_disable_async_webhook’);

    I had customers contact me today saying it was no longer working. Did your recent update cause this snippet to no longer work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    It’s more likely that something changed in WooCommerce. I’d recommend checking in a WooCommerce-specific forum.

    Thread Starter johnboy85

    (@johnboy85)

    I reverted back to the previous version of the plugin 3.1.1. Removed the code snippet and then added it again. Everything started to work as normal. So I updated the plugin back to the currect version 3.2.0 and tested it again. Everything works fine now…

    It seems the update is causing an issue with code snippets. The fix seems to be to remove the snippets and re-add them. This fixed the problem for me at least.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code No Longer Working’ is closed to new replies.