W3cubDocs

/WordPress

WP_List_Table::has_items()

Whether the table has items to display or not

Return

(bool)

Source

File: wp-admin/includes/class-wp-list-table.php

public function has_items() {
		return ! empty( $this->items );
	}

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/has_items