WordPress.org

Forums

Subscribe2
[resolved] Subscribe from different form (2 posts)

  1. juanarcos
    Member
    Posted 2 years ago #

    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/

  2. mattyrob
    Member
    Posted 2 years ago #

    @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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.