Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save strangerstudios/f535c844f17c6dbda928 to your computer and use it in GitHub Desktop.
Save strangerstudios/f535c844f17c6dbda928 to your computer and use it in GitHub Desktop.
Allow other receiver/business email addresses for PMPro IPN Messages.
function my_pmpro_ipn_check_receiver_email($check, $email)
{
if($email == 'bbbb@gmail.com') //change email here to the old email
$check = true;
return $check;
}
add_filter('pmpro_ipn_check_receiver_email', 'my_pmpro_ipn_check_receiver_email', 10, 2);
@andrewlimaza
Copy link

This gist is outdated, here is an updated version that should be used instead - https://gist.github.com/andrewlimaza/fe32e71394d570cb8cd8b5960d2c0e4d

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