bbp_admin_topics()

Setup Forums Topics 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/topics.php

function bbp_admin_topics() {
	bbpress()->admin->topics = new BBP_Topics_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.