bbp_allow_anonymous( $default )

Is the anonymous posting allowed?

Description

Parameters

$default

(Required) bool Optional. Default value

Return

(bool) Is anonymous posting allowed?

Source

File: bp-forums/core/options.php

function bbp_allow_anonymous( $default = 0 ) {
	return apply_filters( 'bbp_allow_anonymous', (bool) get_option( '_bbp_allow_anonymous', $default ) );
}

Changelog

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