bbp_get_default_role( $default = 'bbp_participant' )

Is this forum available to all users on all sites in this installation?

Description

Parameters

$default

(Optional) string Optional. Default value empty

Default value: 'bbp_participant'

Return

(string) The default forums user role

Source

File: bp-forums/core/options.php

function bbp_get_default_role( $default = 'bbp_participant' ) {
	return apply_filters( 'bbp_get_default_role', get_option( '_bbp_default_role', $default ) );
}

Changelog

Changelog
Version Description
bbPress (r4294) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.