Title: Subscription via function?
Last modified: December 5, 2016

---

# Subscription via function?

 *  Resolved [YogieAnamCara](https://wordpress.org/support/users/yogieanamcara/)
 * (@yogieanamcara)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/subscription-via-function/)
 * Hi,
 * would it be possible to subscribe somebody via a function call?
 * I use a event management tool to let users sign up for a event, during that sign
   up process they fill out a dedicated subscription form. Would it be possible 
   to sign up from there to the subscription list?
 * I do have a hook to start code …
 *     ```
       add_action('eme_insert_rsvp_action','do_my_stuff');
       function do_my_stuff($booking) {
        ....
       }
       ```
   
 * So I have access to the email, first name and last name etc.
 * Cheers
    Joerg

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/subscription-via-function/#post-8522947)
 * Hi Joerg,
 * This feature is possible but we will test it at own end and check the feasibility.
 * Your suggestion is perfect for doing a start. But, posting data from another 
   form, we need to implement an exchange key, without it can’t possible. Exchange
   key will be used to protect from unwanted subscription and more secure.
 * Thanks
 *  Thread Starter [YogieAnamCara](https://wordpress.org/support/users/yogieanamcara/)
 * (@yogieanamcara)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/subscription-via-function/#post-8522950)
 * Excellent! Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Subscription via function?’ is closed to new replies.

 * ![](https://ps.w.org/newsletter-subscription-form/assets/icon-256x256.png?rev
   =2430895)
 * [Newsletter Subscription Form - User Subscriptions Form, Capture Email](https://wordpress.org/plugins/newsletter-subscription-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/newsletter-subscription-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/newsletter-subscription-form/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletter-subscription-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletter-subscription-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletter-subscription-form/reviews/)

## Tags

 * [newsletter plugin](https://wordpress.org/support/topic-tag/newsletter-plugin/)

 * 2 replies
 * 2 participants
 * Last reply from: [YogieAnamCara](https://wordpress.org/support/users/yogieanamcara/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/subscription-via-function/#post-8522950)
 * Status: resolved