Adding to a list a user from functions.php
-
Hello,
I just wanted to subscribe a user from the functions.php file. I tried this, but it didn’t work.
$list_id = “b4b88797bj”;
$email = $info->user_email;
$api = mc4wp_get_api_v3();
$api->add_list_member( $list_id, [ ’email_address’ => ‘[email protected]’ ]);Also I couldn’t find any documentation about that. The website developer.mc4wp.com don’t work neither
Thanks in advance for your help
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding to a list a user from functions.php’ is closed to new replies.