[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/admin/ -> forums.php (summary)

bbPress Forum Admin Class

File Size: 794 lines (27 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BBP_Forums_Admin:: (21 methods):
  __construct()
  setup_actions()
  setup_globals()
  edit_help()
  new_help()
  attributes_metabox()
  moderators_metabox()
  subscriptions_metabox()
  comments_metabox()
  save_meta_boxes()
  toggle_forum()
  toggle_forum_notice()
  get_row_action_sort_order()
  get_allowed_notice_toggles()
  get_allowed_action_toggles()
  column_headers()
  column_data()
  row_actions()
  sort_row_actions()
  updated_messages()
  bbp_admin_forums()


Class: BBP_Forums_Admin  - X-Ref

Loads bbPress forums admin area

__construct()   X-Ref
The main bbPress forums admin loader

since: 2.0.0 bbPress (r2515)

setup_actions()   X-Ref
Setup the admin hooks, actions and filters

since: 2.0.0 bbPress (r2646)

setup_globals()   X-Ref
Admin globals

since: 2.0.0 bbPress (r2646)

edit_help()   X-Ref
Contextual help for bbPress forum edit page

since: 2.0.0 bbPress (r3119)

new_help()   X-Ref
Contextual help for bbPress forum edit page

since: 2.0.0 bbPress (r3119)

attributes_metabox()   X-Ref
Add the forum attributes meta-box

since: 2.0.0 bbPress (r2746)

moderators_metabox()   X-Ref
Add the forum moderators meta-box

since: 2.6.0 bbPress

subscriptions_metabox()   X-Ref
Add the subscriptions meta-box

Allows viewing of users who have subscribed to a forum.

since: 2.6.0 bbPress (r6197)

comments_metabox()   X-Ref
Remove comments & discussion meta-boxes if comments are not supported

since: 2.6.0 bbPress (r6186)

save_meta_boxes( $forum_id )   X-Ref
Pass the forum attributes for processing

param: int $forum_id Forum id
return: int Forum id
since: 2.0.0 bbPress (r2746)

toggle_forum()   X-Ref
Toggle forum

Handles the admin-side opening/closing of forums

since: 2.6.0 bbPress (r5254)

toggle_forum_notice()   X-Ref
Toggle forum notices

Display the success/error notices from
{@link BBP_Admin::toggle_forum()}

since: 2.6.0 bbPress (r5254)

get_row_action_sort_order()   X-Ref
Returns an array of keys used to sort row actions

return: array
since: 2.6.0 bbPress (r6771)

get_allowed_notice_toggles()   X-Ref
Returns an array of notice toggles

return: array
since: 2.6.0 bbPress (r6396)

get_allowed_action_toggles()   X-Ref
Returns an array of notice toggles

return: array
since: 2.6.0 bbPress (r6396)

column_headers( $columns )   X-Ref
Manage the column headers for the forums page

param: array $columns The columns
return: array $columns bbPress forum columns
since: 2.0.0 bbPress (r2485)

column_data( $column, $forum_id )   X-Ref
Print extra columns for the forums page

param: string $column Column
param: int $forum_id Forum id
since: 2.0.0 bbPress (r2485)

row_actions( $actions = array()   X-Ref
Forum Row actions

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

param: array  $actions Actions
param: object $forum   Forum object
return: array $actions Actions
since: 2.0.0 bbPress (r2577)

sort_row_actions( $actions = array()   X-Ref
Sort row actions by key

param: array $actions
return: array
since: 2.6.0

updated_messages( $messages )   X-Ref
Custom user feedback messages for forum post type

param: array $messages
return: array
since: 2.0.0 bbPress (r3080)

bbp_admin_forums( $current_screen )   X-Ref
Setup bbPress Forums Admin

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.

param: WP_Screen $current_screen Current screen object
since: 2.0.0 bbPress (r2596)



Generated: Sun Sep 27 01:01:22 2020 Cross-referenced by PHPXref 0.7.1