On this page
WP_List_Table::prepare_items()
Prepares the list of items for displaying.
More Information
Developers should use this class to query and filter data, handle sorting, and pagination, and any other data-manipulation required prior to rendering. This method should be called explicitly after instantiating your class, and before rendering.
Source
File: wp-admin/includes/class-wp-list-table.php. View all references
public function prepare_items() {
die( 'function WP_List_Table::prepare_items() must be overridden in a subclass.' );
}
Related
Used By
| Used By | Description |
|---|---|
| wp_ajax_search_install_plugins() wp-admin/includes/ajax-actions.php | Ajax handler for searching plugins to install. |
| wp_ajax_search_plugins() wp-admin/includes/ajax-actions.php | Ajax handler for searching plugins. |
| display_theme() wp-admin/includes/theme-install.php | Prints a theme on the Install Themes pages. |
| display_themes() wp-admin/includes/theme-install.php | Displays theme content based on theme list. |
| WP_List_Table::ajax_response() wp-admin/includes/class-wp-list-table.php | Handles an incoming ajax request (called from admin-ajax.php) |
| wp_ajax_get_comments() wp-admin/includes/ajax-actions.php | Ajax handler for getting comments. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/prepare_items