Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Forward PMPro IPN messages from one site to another.
* Forward PMPro IPNs to another PMPro site.
function my_pmpro_forward_ipn() {
$fp = wp_remote_post( '', $_POST );
add_action('wp_ajax_nopriv_ipnhandler', 'my_pmpro_forward_ipn', 5);
add_action('wp_ajax_ipnhandler', 'my_pmpro_forward_ipn', 5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.