Support » Plugin: Subscribe2 » Subscribe from different form

  • Resolved juanarcos



    I have a contact form on my page, and also a custom registration form for new users. I’d like to have a checkbox in the custom registration page or in the contact form to give the user the option to subscribe also to the subscribe2 daily digest.

    Is this possible? What is the function that registers a new email in the plugin?

    Many many thanks!!! :-))

Viewing 1 replies (of 1 total)
  • @juanarcos,

    You could just call the default WordPress action in your form like this:
    do_action('user_register', $user_id);

    Or call the Subscribe2 core function register_post() with the new user ID passed as the function parameter.

Viewing 1 replies (of 1 total)
  • The topic ‘Subscribe from different form’ is closed to new replies.