bbp_get_forum_visibilities()

Return an associative array of forum visibility

Description

Return

(array)

Source

File: bp-forums/forums/functions.php

function bbp_get_forum_visibilities() {
	return apply_filters( 'bbp_get_forum_visibilities', array(
		bbp_get_public_status_id()  => __( 'Public', 'buddyboss' ),
		bbp_get_private_status_id() => __( 'Private', 'buddyboss' ),
		bbp_get_hidden_status_id()  => __( 'Hidden', 'buddyboss' )
	) );
}

Changelog

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