BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 2
    C on #4610

    Yes, It worked!
    I had to add also this, to make it work with social login 🙂

    
    function wsl_set_default_member_type( $user_id, $provider, $hybridauth_user_profile ) {
    
    	bp_set_member_type( $user_id, 'member');
    }
    
    add_action( 'wsl_hook_process_login_after_wp_insert_user ', 'wsl_set_default_member_type ', 10, 3 );
    
    

    Thanks!!!!

  • Participant
    Level: Initiated
    Posts: 2
    C on #4126

    Hi,

    Wow! Thank you so much!
    I think both ways sound good, but maybe keeping only the Profile field and removing the dropdown would make more sense 🙂

    Thanks!!!

    Carmen