bbp_get_spectator_role()

The spectator role is for registered users without any capabilities

Description

Return

(string)

Source

File: bp-forums/core/capabilities.php

function bbp_get_spectator_role() {
	return apply_filters( 'bbp_get_spectator_role', 'bbp_spectator' );
}

Changelog

Changelog
Version Description
bbPress (r3860) 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.