@fuzzllc
Active 9 years, 6 months ago
-
Henry Wright replied to the topic Default User Role Blocked from ALL BuddyPress in the forum How-to & Troubleshooting 9 years, 6 months ago
Hi @fuzzllc
A way of doing this would be to override the user’s role when they sign up. BuddyPress provides a hook we can use for this
bp_core_signup_user
. So, you could do something like this:function fuzzllc_set_default_role( $user_id ) {
[Read more]
$user = new WP_User( $user_id );
$user->set_role( 'keymaster' ); // keymaster can be whatever you…