Title: Learndash front end user registration
Last modified: March 6, 2019

---

# Learndash front end user registration

 *  Resolved [db0440954](https://wordpress.org/support/users/db0440954/)
 * (@db0440954)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/learndash-front-end-user-registration/)
 * Hello! I’ve created a custom registration page/form and here’s my question: I
   want the new subscribed users to have THE SAME active learndash groups THAN the
   current user who registrate the user (this page is locked to group leaders only)
 * How can I achieve that ? Is there a plugin that I can use or can I code something
   in the plugin ?
    thanks for your help!
    -  This topic was modified 7 years, 2 months ago by [db0440954](https://wordpress.org/support/users/db0440954/).
      Reason: website restricted access

Viewing 1 replies (of 1 total)

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/learndash-front-end-user-registration/#post-11284256)
 * Hello there,
 * Adding the users to the groups does not seem to include on standalone Learndash
   plugin. It seems you are using the add-on for that. May be [this](https://www.learndash.com/add-on/group-registration/)?
   So, due to add-on not being readily available we could not provide you fully 
   functional codes but you can get a hint from this pseudocode.
 * You might use the provided hook user_registration_after_register_user_action 
   after registering the user.
 *     ```
       function ur_add_user_to_group( $form_data, $form_id, $user_id ) {
           // Assign user to the group.
       }
       add_action( 'user_registration_after_register_user_action', 'ur_add_user_to_group' );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Learndash front end user registration’ is closed to new replies.

 * ![](https://ps.w.org/user-registration/assets/icon-256x256.gif?rev=3284028)
 * [User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder](https://wordpress.org/plugins/user-registration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-registration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/user-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-registration/reviews/)

## Tags

 * [group](https://wordpress.org/support/topic-tag/group/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)
 * [user](https://wordpress.org/support/topic-tag/user/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/learndash-front-end-user-registration/#post-11284256)
 * Status: resolved