bbp_admin_topics

Setup bbPress Topics Admin.

Description

bbp_admin_topics(); 

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.


Usage

  1. if ( !function_exists( 'bbp_admin_topics' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/admin/topics.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_admin_topics(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/admin/topics.php  
  1. function bbp_admin_topics() { 
  2. bbpress)->admin->topics = new BBP_Topics_Admin();