Loads bbPress replies admin area

package bbPress
subpackage Administration
since 2.0.0 bbPress (r2464)

 Methods

The main bbPress admin loader

__construct() 
since 2.0.0 bbPress (r2515)

Add the reply attributes meta-box

attributes_metabox() 
since 2.0.0 bbPress (r2746)

Add the author info meta-box

author_metabox() 

Allows editing of information about an author

since 2.0.0 bbPress (r2828)

Add spam/unspam bulk actions to the bulk action dropdown.

bulk_actions(array $actions) : array
since 2.6.0 bbPress (r6101)

Parameters

$actions

array

The list of bulk actions.

Returns

arrayThe filtered list of bulk actions.

Add custom bulk action updated messages for replies.

bulk_post_updated_messages(array $bulk_messages, array $bulk_counts) 
since 2.6.0 bbPress (r6101)

Parameters

$bulk_messages

array

Arrays of messages, each keyed by the corresponding post type.

$bulk_counts

array

Array of item counts for each message, used to build internationalized strings.

Print extra columns for the replies page

column_data(string $column, integer $reply_id) 
since 2.0.0 bbPress (r2577)

Parameters

$column

string

Column

$reply_id

integer

reply id

Manage the column headers for the replies page

column_headers(array $columns) : array
since 2.0.0 bbPress (r2577)

Parameters

$columns

array

The columns

Returns

array$columns bbPress reply columns

Remove comments & discussion meta-boxes if comments are not supported

comments_metabox() 
since 2.6.0 bbPress (r6186)

Contextual help for bbPress reply edit page

edit_help() 
since 2.0.0 bbPress (r3119)

Add forum dropdown to topic and reply list table filters

filter_dropdown() : boolean
since 2.0.0 bbPress (r2991)

Returns

booleanFalse. If post type is not topic or reply

Add "Empty Spam" button for moderators

filter_empty_spam() 
since 2.6.0 bbPress (r6791)

Adjust the request query and include the forum id

filter_post_rows(array $query_vars) : array
since 2.0.0 bbPress (r2991)

Parameters

$query_vars

array

Query variables from {@link WP_Query}

Returns

arrayProcessed Query Vars

Handle spam/unspam bulk actions.

handle_bulk_actions(string $sendback, string $doaction, array $post_ids) : string
since 2.6.0 bbPress (r6101)

Parameters

$sendback

string

The sendback URL.

$doaction

string

The action to be taken.

$post_ids

array

The post IDS to take the action on.

Returns

stringThe sendback URL.

Contextual help for bbPress reply edit page

new_help() 
since 2.0.0 bbPress (r3119)

Reply Row actions

row_actions(array $actions = array(), object $reply = false) : array

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

since 2.0.0 bbPress (r2577)

Parameters

$actions

array

Actions

$reply

object

Reply object

Returns

array$actions Actions

Pass the reply attributes for processing

save_meta_boxes(integer $reply_id) : integer
since 2.0.0 bbPress (r2746)

Parameters

$reply_id

integer

Reply id

Returns

integerParent id

Toggle reply

toggle_reply() 

Handles the admin-side spamming/unspamming of replies

since 2.0.0 bbPress (r2740)

Toggle reply notices

toggle_reply_notice() 

Display the success/error notices from \BBP_Admin::toggle_reply()

since 2.0.0 bbPress (r2740)

Custom user feedback messages for reply 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)
since 2.6.0 bbPress (r6101) Added bulk actions
access private

Admin globals

setup_globals() 
since 2.0.0 bbPress (r2646)
access private

Sort row actions by key

sort_row_actions(array $actions = array()) : array
since 2.6.0

Parameters

$actions

array

Returns

array

 Properties

 

post type of this admin component

$post_type : \The

Default

''