Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@andrewlimaza andrewlimaza commented Jan 8, 2021

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