• Resolved danielghre

    (@danielghre)


    Hello, by default when we create a new WP account it’s adding the “registered” group, can we remove this ? Actually I don’t need the registered group at all. Can we also set the group selection to mandatory ? Can we also let only one group selection not multiple ?

Viewing 1 replies (of 1 total)
  • Hi Daniel,

    The Registered group is added and maintained by default, but cannot be removed. What you can do is avoid using it for content restrictions and instead create your own groups as described in the documentation.

    As for the second part of your question, once you have modified your registration form and added a group selection field, the user can be added to the selected group, using the first example found here: https://docs.itthinx.com/document/groups/api/examples/

    Groups_User_Group::create( array( 'user_id' => $user_id, 'group_id' => $group_id ) );

    Kind regards,

    George

Viewing 1 replies (of 1 total)
  • The topic ‘Remove automatic registered group on account creation’ is closed to new replies.