[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

List Table API: WP_MS_Themes_List_Table class

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

Defines 1 class

WP_MS_Themes_List_Table:: (20 methods):
  __construct()
  get_table_classes()
  ajax_user_can()
  prepare_items()
  _search_callback()
  _order_callback()
  no_items()
  get_columns()
  get_sortable_columns()
  get_primary_column_name()
  get_views()
  get_bulk_actions()
  display_rows()
  column_cb()
  column_name()
  column_description()
  column_autoupdates()
  column_default()
  single_row_columns()
  single_row()


Class: WP_MS_Themes_List_Table  - X-Ref

Core class used to implement displaying themes in a list table for the network admin.

__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( $theme )   X-Ref

return: bool
param: WP_Theme $theme

_order_callback( $theme_a, $theme_b )   X-Ref

return: int
param: array $theme_a
param: array $theme_b

no_items()   X-Ref
No description

get_columns()   X-Ref

return: array

get_sortable_columns()   X-Ref

return: array

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

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

get_views()   X-Ref

return: array

get_bulk_actions()   X-Ref

return: array

display_rows()   X-Ref
No description

column_cb( $item )   X-Ref
Handles the checkbox column output.

since: 4.3.0
since: 5.9.0 Renamed `$theme` to `$item` to match parent class for PHP 8 named parameter support.
param: WP_Theme $item The current WP_Theme object.

column_name( $theme )   X-Ref
Handles the name column output.

since: 4.3.0
param: WP_Theme $theme The current WP_Theme object.

column_description( $theme )   X-Ref
Handles the description column output.

since: 4.3.0
param: WP_Theme $theme The current WP_Theme object.

column_autoupdates( $theme )   X-Ref
Handles the auto-updates column output.

since: 5.5.0
param: WP_Theme $theme The current WP_Theme object.

column_default( $item, $column_name )   X-Ref
Handles default column output.

since: 4.3.0
since: 5.9.0 Renamed `$theme` to `$item` to match parent class for PHP 8 named parameter support.
param: WP_Theme $item        The current WP_Theme object.
param: string   $column_name The current column name.

single_row_columns( $item )   X-Ref
Handles the output for a single table row.

since: 4.3.0
param: WP_Theme $item The current WP_Theme object.

single_row( $theme )   X-Ref

param: WP_Theme $theme



Generated: Tue Apr 16 01:00:02 2024 Cross-referenced by PHPXref 0.7.1