[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




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

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

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

Defines 3 functions


Functions that are not part of a class:

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

param: string $class The type of the list table, which is the class name.
param: array  $args  Optional. Arguments to pass to the class. Accepts 'screen'.
return: WP_List_Table|bool List table object on success, false if the class does not exist.

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

param: string  $screen   The handle for the screen to add help to. This is usually the hook name returned by the
param: string[] $columns An array of columns with column IDs as the keys and translated column names as the values.

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: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1