Determines whether the table has items to display or not
Source
public function has_items() {
return ! empty( $this->items );
}
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
CARVIEW |
Determines whether the table has items to display or not
public function has_items() {
return ! empty( $this->items );
}
Used by | Description |
---|---|
WP_List_Table::display_rows_or_placeholder()wp-admin/includes/class-wp-list-table.php | Generates the tbody element for the list table. |
WP_List_Table::display_tablenav()wp-admin/includes/class-wp-list-table.php | Generates the table navigation above or below the table |
WP_List_Table::search_box()wp-admin/includes/class-wp-list-table.php | Displays the search box. |
wp_ajax_get_comments()wp-admin/includes/ajax-actions.php | Handles getting comments via AJAX. |
Version | Description |
---|---|
3.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.