Last active
April 30, 2021 06:40
-
-
Save thejamescollins/43412979871700a23186fb9bc325680b to your computer and use it in GitHub Desktop.
WooCommerce Zapier send data immediately (rather than asynchronously)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
The following code will tell the WooCommerce Zapier extension (v1.7.x - 1.9.x) to send data to | |
Zapier immediately, rather than sending the data asynchronously via WordPress cron. | |
Save this file as wczaper.php and place it in your wp-content/mu-plugins/ directory. | |
This snippet does not apply for WooCommerce Zapier version 2.0+, which uses WooCommerce core's webhook devliery mechanism instead. | |
*/ | |
add_filter( 'wc_zapier_send_asynchronously', '__return_false' ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment