Prepares the list of items for displaying.
Source
public function prepare_items() {
die( 'function WP_List_Table::prepare_items() must be overridden in a subclass.' );
}
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
CARVIEW |
Prepares the list of items for displaying.
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.
public function prepare_items() {
die( 'function WP_List_Table::prepare_items() must be overridden in a subclass.' );
}
Used by | Description |
---|---|
wp_ajax_search_install_plugins()wp-admin/includes/ajax-actions.php | Handles searching plugins to install via AJAX. |
wp_ajax_search_plugins()wp-admin/includes/ajax-actions.php | Handles searching plugins via AJAX. |
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 | Handles getting comments via AJAX. |
Version | Description |
---|---|
3.1.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
User Contributed Notes