Loads bbPress forums admin area.

package bbPress
subpackage Administration
since 2.0.0 bbPress (r2464)

 Methods

The main bbPress forums admin loader.

__construct() 
since 2.0.0 bbPress (r2515)

Add the forum attributes meta-box.

attributes_metabox() 
since 2.0.0 bbPress (r2746)

Print extra columns for the forums page.

column_data(string $column, integer $forum_id) 
since 2.0.0 bbPress (r2485)

Parameters

$column

string

Column.

$forum_id

integer

Forum id.

Manage the column headers for the forums page.

column_headers(array $columns) : array
since 2.0.0 bbPress (r2485)

Parameters

$columns

array

The columns.

Returns

array$columns bbPress forum columns.

Remove comments & discussion meta-boxes if comments are not supported.

comments_metabox() 
since 2.6.0 bbPress (r6186)

Contextual help for bbPress forum edit page.

edit_help() 
since 2.0.0 bbPress (r3119)

Add the forum moderators meta-box.

moderators_metabox() 
since 2.6.0 bbPress

Contextual help for bbPress forum edit page.

new_help() 
since 2.0.0 bbPress (r3119)

Forum Row actions.

row_actions(array $actions = array(), object $forum = false) : array

Remove the quick-edit action link and display the description under the forum title and add the open/close links.

since 2.0.0 bbPress (r2577)

Parameters

$actions

array

Actions.

$forum

object

Forum object.

Returns

array$actions Actions.

Pass the forum attributes for processing.

save_meta_boxes(integer $forum_id) : integer
since 2.0.0 bbPress (r2746)

Parameters

$forum_id

integer

Forum id.

Returns

integerForum id.

Add the subscriptions meta-box.

subscriptions_metabox() 

Allows viewing of users who have subscribed to a forum.

since 2.6.0 bbPress (r6197)

Toggle forum.

toggle_forum() 

Handles the admin-side opening/closing of forums.

since 2.6.0 bbPress (r5254)

Toggle forum notices.

toggle_forum_notice() 

Display the success/error notices from \BBP_Admin::toggle_forum()

since 2.6.0 bbPress (r5254)

Custom user feedback messages for forum post type.

updated_messages(array $messages) : array
since 2.0.0 bbPress (r3080)
global int $post_ID

Parameters

$messages

array

Returns

array

Returns an array of notice toggles.

get_allowed_action_toggles() : array
since 2.6.0 bbPress (r6396)

Returns

array

Returns an array of notice toggles.

get_allowed_notice_toggles() : array
since 2.6.0 bbPress (r6396)

Returns

array

Returns an array of keys used to sort row actions.

get_row_action_sort_order() : array
since 2.6.0 bbPress (r6771)

Returns

array

Setup the admin hooks, actions and filters.

setup_actions() 
since 2.0.0 bbPress (r2646)
access private

Admin globals.

setup_globals() 
since 2.0.0 bbPress (r2646)
access private

Sort row actions by key.

sort_row_actions($actions = array()) : array
since 2.6.0

Parameters

$actions

Returns

array

 Properties

 

The post type of this admin component.

$post_type : string

Default

''