[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

List Table API: WP_Plugins_List_Table class

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

Defines 1 class

WP_Plugins_List_Table:: (18 methods):
  __construct()
  get_table_classes()
  ajax_user_can()
  prepare_items()
  _search_callback()
  _order_callback()
  no_items()
  search_box()
  get_columns()
  get_sortable_columns()
  get_views()
  get_bulk_actions()
  bulk_actions()
  extra_tablenav()
  current_action()
  display_rows()
  single_row()
  get_primary_column_name()


Class: WP_Plugins_List_Table  - X-Ref

Core class used to implement displaying installed plugins in a list table.

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

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

get_table_classes()   X-Ref

return: array

ajax_user_can()   X-Ref

return: bool

prepare_items()   X-Ref


_search_callback( $plugin )   X-Ref

return: bool
param: array $plugin

_order_callback( $plugin_a, $plugin_b )   X-Ref

return: int
param: array $plugin_a
param: array $plugin_b

no_items()   X-Ref


search_box( $text, $input_id )   X-Ref
Displays the search box.

since: 4.6.0
param: string $text     The 'submit' button label.
param: string $input_id ID attribute value for the search input field.

get_columns()   X-Ref

return: array

get_sortable_columns()   X-Ref

return: array

get_views()   X-Ref

return: array

get_bulk_actions()   X-Ref

return: array

bulk_actions( $which = '' )   X-Ref

param: string $which

extra_tablenav( $which )   X-Ref

param: string $which

current_action()   X-Ref

return: string

display_rows()   X-Ref


single_row( $item )   X-Ref

param: array $item

get_primary_column_name()   X-Ref
Gets the name of the primary column for this specific list table.

since: 4.3.0
return: string Unalterable name for the primary column, in this case, 'name'.



Generated: Fri Apr 19 01:00:02 2024 Cross-referenced by PHPXref 0.7.1