Created
March 4, 2024 15:08
-
-
Save clifgriffin/490f366d1e75779becc0447384a3ce13 to your computer and use it in GitHub Desktop.
CheckoutWC: Enable Abandoned Cart Recovery tracking without emails.
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 | |
/** | |
* Enable ACR cart tracking without published emails | |
* | |
* Add to your child theme's functions.php file or to WP Admin > CheckoutWC > Advanced > Scripts > PHP Snippets | |
* Do NOT include the opening PHP tag above (<?php) | |
*/ | |
add_filter( 'cfw_acr_track_cart_without_emails', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment