[ Index ]

PHP Cross Reference of BBPress




/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):

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.

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

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

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.
since: 2.6.0 bbPress (r6101)

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

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.
since: 2.6.0 bbPress (r6101)

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

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

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

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

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

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

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

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

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

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

return: array
param: array $actions
since: 2.6.0

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

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

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

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

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

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

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.

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

Generated: Wed Feb 28 01:00:50 2024 Cross-referenced by PHPXref 0.7.1