bbp_get_forum_statuses()

Return an associative array of available topic statuses

Description

Return

(array)

Source

File: bp-forums/forums/functions.php

function bbp_get_forum_statuses() {
	return apply_filters( 'bbp_get_forum_statuses', array(
		'open'   => __( 'Open', 'buddyboss' ),
		'closed' => __( 'Closed', '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.