[ 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: 720 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Terms_List_Table:: (21 methods):
  __construct()
  ajax_user_can()
  prepare_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

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_term = 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_term
param: int    $level

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

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

column_cb( $item )   X-Ref

param: WP_Term $item Term object.
since: 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named parameter support.
return: string

column_name( $tag )   X-Ref

param: WP_Term $tag Term object.
return: string

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

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

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

param: WP_Term $item        Tag being acted upon.
param: string  $column_name Current column name.
param: string  $primary     Primary column name.
since: 4.3.0
since: 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named parameter support.
return: string Row actions output for terms, or an empty string

column_description( $tag )   X-Ref

param: WP_Term $tag Term object.
return: string

column_slug( $tag )   X-Ref

param: WP_Term $tag Term object.
return: string

column_posts( $tag )   X-Ref

param: WP_Term $tag Term object.
return: string

column_links( $tag )   X-Ref

param: WP_Term $tag Term object.
return: string

column_default( $item, $column_name )   X-Ref

param: WP_Term $item        Term object.
param: string  $column_name Name of the column.
since: 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named parameter support.
return: string

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

since: 3.1.0



Generated: Sat Dec 14 01:00:02 2024 Cross-referenced by PHPXref 0.7.1