[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

List Table API: WP_Terms_List_Table class

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

Defines 1 class

WP_Terms_List_Table:: (22 methods):
  __construct()
  ajax_user_can()
  prepare_items()
  has_items()
  no_items()
  get_bulk_actions()
  current_action()
  get_columns()
  get_sortable_columns()
  display_rows_or_placeholder()
  _rows()
  single_row()
  column_cb()
  column_name()
  get_default_primary_column_name()
  handle_row_actions()
  column_description()
  column_slug()
  column_posts()
  column_links()
  column_default()
  inline_edit()


Class: WP_Terms_List_Table  - X-Ref

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

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

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

ajax_user_can()   X-Ref

return: bool

prepare_items()   X-Ref
No description

has_items()   X-Ref

return: bool

no_items()   X-Ref
No description

get_bulk_actions()   X-Ref

return: array

current_action()   X-Ref

return: string

get_columns()   X-Ref

return: array

get_sortable_columns()   X-Ref

return: array

display_rows_or_placeholder()   X-Ref
No description

_rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 )   X-Ref

param: string $taxonomy
param: array $terms
param: array $children
param: int   $start
param: int   $per_page
param: int   $count
param: int   $parent
param: int   $level

single_row( $tag, $level = 0 )   X-Ref

param: WP_Term $tag Term object.
param: int $level

column_cb( $tag )   X-Ref

return: string
param: WP_Term $tag Term object.

column_name( $tag )   X-Ref

return: string
param: WP_Term $tag Term object.

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

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

handle_row_actions( $tag, $column_name, $primary )   X-Ref
Generates and displays row action links.

return: string Row actions output for terms.
param: WP_Term $tag         Tag being acted upon.
param: string  $column_name Current column name.
param: string  $primary     Primary column name.
since: 4.3.0

column_description( $tag )   X-Ref

return: string
param: WP_Term $tag Term object.

column_slug( $tag )   X-Ref

return: string
param: WP_Term $tag Term object.

column_posts( $tag )   X-Ref

return: string
param: WP_Term $tag Term object.

column_links( $tag )   X-Ref

return: string
param: WP_Term $tag Term object.

column_default( $tag, $column_name )   X-Ref

return: string
param: WP_Term $tag Term object.
param: string $column_name

inline_edit()   X-Ref
Outputs the hidden row displayed when inline editing

since: 3.1.0



Generated: Thu Sep 19 01:00:03 2019 Cross-referenced by PHPXref 0.7.1