[ 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
since: 2.0.0 bbPress (r2746)
return: int Forum id

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

since: 2.6.0 bbPress (r6771)
return: array

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

since: 2.6.0 bbPress (r6396)
return: array

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

since: 2.6.0 bbPress (r6396)
return: array

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

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

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
since: 2.0.0 bbPress (r2577)
return: array $actions Actions

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

param: array $actions
since: 2.6.0
return: array

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

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

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 Aug 1 01:01:32 2021 Cross-referenced by PHPXref 0.7.1