[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

bbPress Replies Admin Class

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

Defines 1 class

BBP_Replies_Admin:: (26 methods):
  __construct()
  setup_actions()
  setup_globals()
  edit_help()
  new_help()
  bulk_actions()
  bulk_post_updated_messages()
  handle_bulk_actions()
  attributes_metabox()
  author_metabox()
  comments_metabox()
  save_meta_boxes()
  toggle_reply()
  toggle_reply_notice()
  get_row_action_sort_order()
  get_allowed_notice_toggles()
  get_allowed_action_toggles()
  column_headers()
  column_data()
  row_actions()
  sort_row_actions()
  filter_dropdown()
  filter_empty_spam()
  filter_post_rows()
  updated_messages()
  bbp_admin_replies()


Class: BBP_Replies_Admin  - X-Ref

Loads bbPress replies admin area

__construct()   X-Ref
The main bbPress 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)
since: 2.6.0 bbPress (r6101) Added bulk actions

setup_globals()   X-Ref
Admin globals

since: 2.0.0 bbPress (r2646)

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

since: 2.0.0 bbPress (r3119)

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

since: 2.0.0 bbPress (r3119)

bulk_actions( $actions )   X-Ref
Add spam/unspam bulk actions to the bulk action dropdown.

since: 2.6.0 bbPress (r6101)
return: array The filtered list of bulk actions.
param: array $actions The list of bulk actions.

bulk_post_updated_messages( $bulk_messages, $bulk_counts )   X-Ref
Add custom bulk action updated messages for replies.

since: 2.6.0 bbPress (r6101)
param: array $bulk_messages Arrays of messages, each keyed by the corresponding post type.
param: array $bulk_counts   Array of item counts for each message, used to build internationalized strings.

handle_bulk_actions( $sendback, $doaction, $post_ids )   X-Ref
Handle spam/unspam bulk actions.

since: 2.6.0 bbPress (r6101)
return: string The sendback URL.
param: string $sendback The sendback URL.
param: string $doaction The action to be taken.
param: array  $post_ids The post IDS to take the action on.

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

since: 2.0.0 bbPress (r2746)

author_metabox()   X-Ref
Add the author info meta-box

Allows editing of information about an author

since: 2.0.0 bbPress (r2828)

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

since: 2.6.0 bbPress (r6186)

save_meta_boxes( $reply_id )   X-Ref
Pass the reply attributes for processing

since: 2.0.0 bbPress (r2746)
return: int Parent id
param: int $reply_id Reply id

toggle_reply()   X-Ref
Toggle reply

Handles the admin-side spamming/unspamming of replies

since: 2.0.0 bbPress (r2740)

toggle_reply_notice()   X-Ref
Toggle reply notices

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

since: 2.0.0 bbPress (r2740)

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 replies page

since: 2.0.0 bbPress (r2577)
return: array $columns bbPress reply columns
param: array $columns The columns

column_data( $column, $reply_id )   X-Ref
Print extra columns for the replies page

since: 2.0.0 bbPress (r2577)
param: string $column Column
param: int $reply_id reply id

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

Remove the quick-edit action link under the reply title and add the
content and spam link

since: 2.0.0 bbPress (r2577)
return: array $actions Actions
param: array  $actions Actions
param: object $reply   Reply object

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

since: 2.6.0
return: array
param: array $actions

filter_dropdown()   X-Ref
Add forum dropdown to topic and reply list table filters

since: 2.0.0 bbPress (r2991)
return: bool False. If post type is not topic or reply

filter_empty_spam()   X-Ref
Add "Empty Spam" button for moderators

since: 2.6.0 bbPress (r6791)

filter_post_rows( $query_vars )   X-Ref
Adjust the request query and include the forum id

since: 2.0.0 bbPress (r2991)
return: array Processed Query Vars
param: array $query_vars Query variables from {@link WP_Query}

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

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

bbp_admin_replies( $current_screen )   X-Ref
Setup bbPress Replies 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.

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



Generated: Sat Dec 21 01:00:52 2024 Cross-referenced by PHPXref 0.7.1