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) |
Print extra columns for the forums page.
column_data(string $column, integer $forum_id)
| since |
2.0.0 bbPress (r2485) |
Parameters
$forum_id
integerForum id.
Manage the column headers for the forums page.
column_headers(array $columns) : array
| since |
2.0.0 bbPress (r2485) |
Parameters
$columns
arrayThe columns.
Returns
array$columns bbPress forum columns.
Contextual help for bbPress forum edit page.
edit_help()
| since |
2.0.0 bbPress (r3119) |
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
$forum
objectForum object.
Returns
array$actions Actions.
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
Parameters
$actions
Returns
array
Properties
The post type of this admin component.
$post_type : string
Remove comments & discussion meta-boxes if comments are not supported.