[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Helper functions for displaying a list of items in an ajaxified HTML table.

File Size: 131 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  _get_list_table()
  register_column_headers()
  print_column_headers()

Functions
Functions that are not part of a class:

_get_list_table( $class_name, $args = array()   X-Ref
Fetches an instance of a WP_List_Table class.

param: string $class_name The type of the list table, which is the class name.
param: array  $args       {
return: WP_List_Table|false List table object of the type given in `$class_name`

register_column_headers( $screen, $columns )   X-Ref
Register column headers for a particular screen.

param: string   $screen  The handle for the screen to register column headers for. This is
param: string[] $columns An array of columns with column IDs as the keys and translated

print_column_headers( $screen, $with_id = true )   X-Ref
Prints column headers for a particular screen.

param: string|WP_Screen $screen  The screen hook name or screen object.
param: bool             $with_id Whether to set the ID attribute or not.



Generated : Wed Sep 23 08:20:35 2026 Cross-referenced by PHPXref