WP_List_Table::has_items
Determines whether the table has items to display or not.
Method of the class: WP_List_Table{}
No Hooks.
Returns
bool. Whether the table has items to display.
Usage
$WP_List_Table = new WP_List_Table(); $WP_List_Table->has_items();
Changelog
| Since 3.1.0 | Introduced. |
WP_List_Table::has_items() WP List Table::has items code WP 7.1
public function has_items() {
return ! empty( $this->items );
}