Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: how to add new members to groups automatically?

@modemlooper

Moderator

did these plugins not work?
https://wordpress.org/plugins/buddypress-groupomatic/
https://wordpress.org/plugins/buddypress-auto-group-join/

or function

function automatic_group_membership( $user_id ) {
   if( !$user_id ) return false;
 
   groups_accept_invite( $user_id, $group_id );
}
add_action( 'bp_core_activated_user', 'automatic_group_membership' );
Skip to toolbar