WordPress.org

Support

Support » Plugins and Hacks » Subscribe2 » [Resolved] Subscribe from different form

[Resolved] Subscribe from different form

  • Hi!!

    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!!! :-))

    http://wordpress.org/extend/plugins/subscribe2/

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 ‘[Resolved] Subscribe from different form’ is closed to new replies.
Skip to toolbar