[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

List Table API: WP_Terms_List_Table class

File Size: 756 lines (21 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.

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: string[] Array of column titles keyed by their column name.

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

return: string
param: WP_Term $item 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'.

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

return: string Row actions output for terms, or an empty string
param: WP_Term $item        Tag being acted upon.
param: string  $column_name Current column name.
param: string  $primary     Primary column name.

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( $item, $column_name )   X-Ref

return: string
param: WP_Term $item        Term object.
param: string  $column_name Name of the column.

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




Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref