Topic replies list table.

This list table is responsible for showing the replies to a topic in a meta-box, similar to comments in posts and pages.

since 2.6.0 bbPress (r5886)
package bbPress

 Methods

The main constructor method.

__construct($args = array()
since 2.6.0 bbPress (r5886)

Parameters

$args

Output the contents of the `bbp_reply_content` column.

column_bbp_reply_content($item = ''
since 2.6.0 bbPress (r5886)

Parameters

$item

Output the contents of the `bbp_reply_created` column.

column_bbp_reply_created($item = ''
since 2.6.0 bbPress (r5886)

Parameters

$item

Output the contents of the `bbp_topic_reply_author` column.

column_bbp_topic_reply_author($item = ''
since 2.6.0 bbPress (r5886)

Parameters

$item

Output the check-box column for bulk actions (if we implement them).

column_cb($item = ''
since 2.6.0 bbPress (r5886)

Parameters

$item

Display the list table.

display() 

This custom method is necessary because the one in WP_List_Table comes with a nonce and check that we do not need.

since 2.6.0 bbPress (r5930)

Setup the bulk actions.

get_bulk_actions() : array
since 2.6.0 bbPress (r5886)

Returns

arrayAn associative array containing all the bulk actions.

Setup the list-table columns.

get_columns() : array
since 2.6.0 bbPress (r5886)
see

Returns

arrayAn associative array containing column information

Allow `bbp_reply_created` to be sortable.

get_sortable_columns() : array
since 2.6.0 bbPress (r5886)

Returns

arrayAn associative array containing the `bbp_reply_created` column.

Message to be displayed when there are no items.

no_items() 
since 2.6.0 bbPress (r5930)

Prepare the list-table items for display.

prepare_items($topic_id = 0
since 2.6.0 bbPress (r5886)

Parameters

$topic_id

Handle bulk action requests.

process_bulk_action() 
since 2.6.0 bbPress (r5886)

Generates content for a single row of the table.

single_row(object $item) 
since 2.6.0
access public

Parameters

$item

object

The current item.

Generate the table navigation above or below the table.

display_tablenav(string $which = ''

This custom method is necessary because the one in WP_List_Table comes with a nonce and check that we do not need.

since 2.6.0 bbPress (r5930)

Parameters

$which

string