Skip to content

Instantly share code, notes, and snippets.

@lukecav
Last active July 4, 2024 22:22
Show Gist options
  • Select an option

  • Save lukecav/920cb2a2edc8a4280eccf78bbfc85143 to your computer and use it in GitHub Desktop.

Select an option

Save lukecav/920cb2a2edc8a4280eccf78bbfc85143 to your computer and use it in GitHub Desktop.
Disable woocommerce_webhook_deliver_async in WooCommerce
apply_filters( 'woocommerce_webhook_deliver_async', '__return_false' );
@luiseduardobraschi
Copy link

It should be "add_filter".

@lukecav
Copy link
Author

lukecav commented Feb 2, 2023

@coxato
Copy link

coxato commented Oct 4, 2023

@luiseduardobraschi you're right "add_filter" worked for me

@CyberPoison
Copy link

the correct once should be.

  1. edit functions.php .

And add this:

add_filter( 'woocommerce_webhook_deliver_async', '__return_false' );

this worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment