Skip to content

Instantly share code, notes, and snippets.

@leewillis77
Created June 8, 2020 13:46
Show Gist options
  • Save leewillis77/42b5ecefa19f889bd3049e2384a67f2a to your computer and use it in GitHub Desktop.
Save leewillis77/42b5ecefa19f889bd3049e2384a67f2a to your computer and use it in GitHub Desktop.
Disable unrecovered cart emails in WP Cart Recovery / WP Cart Recovery Pro plugin
<?php
// Examples of the filter to use to disable recovered cart notifications.
add_filter( 'crfw_send_recovered_cart_notifications', '__return_false' );
// Examples of the filter to use to disable unrecovered cart notifications.
add_filter( 'crfwp_send_unrecovered_cart_notifications', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment