bbp_admin_forums()

Setup forums Admin

Description

This is currently here to make hooking and unhooking of the admin UI easy. It could use dependency injection in the future, but for now this is easier.

Source

File: bp-forums/admin/forums.php

function bbp_admin_forums() {
	bbpress()->admin->forums = new BBP_Forums_Admin();
}

Changelog

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