Hi @wholebiz.
I’ve seen other posts where you’ve been trying to something from UV to ActiveCampaign. I’m having the same problems.
Did you get a solution to this?
Cheers
Shane
Hi Shane,
Not sure this is what you’re wanting, but the developer of UV gave me some code, and I turned it into this which works great. I grab the user ID and send it to another plugin called Uncanny Automator. From there, I can grab whatever data I want and send another POST. In my case, I send the post ot Integromat which then updates ActiveCampaign. Hopefully this will give you what you need!
Cheers!
===
add_action('user_verification_email_verified', 'user_verification_email_verified_11012021');
function user_verification_email_verified_11012021($args){
$user_id = isset($args['user_id']) ? $args['user_id'] : '';
$url = 'https://YOUR-POST-URL.COM';
$response = wp_remote_post( $url, array(
'method' => 'POST',
'timeout' => 45,
'redirection' => 5,
'httpversion' => '1.0',
'blocking' => true,
'headers' => array(),
'body' => array(
'ID' => $user_id
),
'cookies' => array()
)
);
}