bbp_allow_global_access( $default = 1 )

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

Description

Parameters

$default

(Optional) bool Optional. Default value false

Default value: 1

Return

(bool) Is global access allowed?

Source

File: bp-forums/core/options.php

function bbp_allow_global_access( $default = 1 ) {
	return (bool) apply_filters( 'bbp_allow_global_access', (bool) get_option( '_bbp_allow_global_access', $default ) );
}

Changelog

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