bbp_get_hidden_forum_ids()

Returns the hidden forum ids

Description

Only hidden forum ids are returned. Public and private ids are not.

Source

File: bp-forums/forums/functions.php

function bbp_get_hidden_forum_ids() {
   	$forum_ids = get_option( '_bbp_hidden_forums', array() );

	return apply_filters( 'bbp_get_hidden_forum_ids', (array) $forum_ids );
}

Changelog

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