bbp_get_views()

Get the registered views

Description

Does nothing much other than return the $bbp->views variable

Return

(array) Views

Source

File: bp-forums/core/functions.php

function bbp_get_views() {
	return bbpress()->views;
}

Changelog

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