bbp_set_user_role

bbp_set_user_role

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_set_user_role') is found 1 times:

  • /includes/users/capabilities.php line 189
    		$new_role = false;
    	}
    
    	// Filter & return
    	return apply_filters( 'bbp_set_user_role', $new_role, $user_id, $user );
    }
    
    /**
     * Return a user's forums role
     *
     * @since 2.1.0 bbPress (r3860)