WP_Posts_List_Table::has_items() WordPress Method
The WP_Posts_List_Table::has_items() method is used to check if there are any posts in the current list table. This is a useful method for checking if there is anything to display before outputting the list table.
WP_Posts_List_Table::has_items() #
Return
(bool)
Source
File: wp-admin/includes/class-wp-posts-list-table.php
public function has_items() { return have_posts(); }
Expand full source codeCollapse full source codeView on TracView on GitHub