Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
WooCommerce Zapier send data asynchronously (rather than immediately)
<?php
/*
The following code will tell the WooCommerce Zapier extension (v1.7+) to send data to
Zapier asynchronously via WordPress cron, rather than sending the data immediately.
Please note that we only suggest doing this if your WP-Cron facility is working reliably.
Save this file as wczaper.php and place it in your wp-content/mu-plugins/ directory.
*/
add_filter( 'wc_zapier_send_asynchronously', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment