Help adding subscription in register form.
-
Ok, i’m using the documented function
$Knews_plugin->add_user(‘[email protected]’, 1, ‘en’, ‘en_US’);I’m trying to add new register users via Buddypress form to my newsletter list.
But the function don’t respond to add_action, do_action calls.
One example, used in my functions.php for test purpose:
add_action (‘callknews’, ‘$Knews_plugin->add_user’, 10, 4);
do_action (‘callknews’, ‘[email protected]’, 1, ‘en’, ‘en_US’);Doesnt’ work… How can i send parameters to $Knews_plugin->add_user() function via a do_action?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Help adding subscription in register form.’ is closed to new replies.