[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/includes/ -> class-wp-comments-list-table.php (summary)

List Table API: WP_Comments_List_Table class

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

Defines 1 class

WP_Comments_List_Table:: (22 methods):
  __construct()
  floated_admin_avatar()
  ajax_user_can()
  prepare_items()
  get_per_page()
  no_items()
  get_views()
  get_bulk_actions()
  extra_tablenav()
  current_action()
  get_columns()
  get_sortable_columns()
  get_default_primary_column_name()
  display()
  single_row()
  handle_row_actions()
  column_cb()
  column_comment()
  column_author()
  column_date()
  column_response()
  column_default()


Class: WP_Comments_List_Table  - X-Ref

Core class used to implement displaying comments in a list table.

__construct( $args = array()   X-Ref
Constructor.

param: array $args An associative array of arguments.
since: 3.1.0

floated_admin_avatar( $name, $comment_ID )   X-Ref
No description

ajax_user_can()   X-Ref

return: bool

prepare_items()   X-Ref


get_per_page( $comment_status = 'all' )   X-Ref

param: string $comment_status
return: int

no_items()   X-Ref


get_views()   X-Ref


get_bulk_actions()   X-Ref

return: array

extra_tablenav( $which )   X-Ref

param: string $which

current_action()   X-Ref

return: string|false

get_columns()   X-Ref

return: array

get_sortable_columns()   X-Ref

return: array

get_default_primary_column_name()   X-Ref
Get the name of the default primary column.

return: string Name of the default primary column, in this case, 'comment'.
since: 4.3.0

display()   X-Ref
Displays the comments table.

Overrides the parent display() method to render extra comments.

since: 3.1.0

single_row( $item )   X-Ref

param: WP_Comment $item

handle_row_actions( $comment, $column_name, $primary )   X-Ref
Generate and display row actions links.

param: WP_Comment $comment     The comment object.
param: string     $column_name Current column name.
param: string     $primary     Primary column name.
return: string|void Comment row actions output.
since: 4.3.0

column_cb( $comment )   X-Ref

param: WP_Comment $comment The comment object.

column_comment( $comment )   X-Ref

param: WP_Comment $comment The comment object.

column_author( $comment )   X-Ref

param: WP_Comment $comment The comment object.

column_date( $comment )   X-Ref

param: WP_Comment $comment The comment object.

column_response( $comment )   X-Ref

param: WP_Comment $comment The comment object.

column_default( $comment, $column_name )   X-Ref

param: WP_Comment $comment     The comment object.
param: string     $column_name The custom column's name.



Generated: Wed Nov 20 01:00:03 2019 Cross-referenced by PHPXref 0.7.1