WP_List_Table::has_items()publicWP 3.1.0

Determines whether the table has items to display or not

Method of the class: WP_List_Table{}

No Hooks.

Return

true|false.

Usage

$WP_List_Table = new WP_List_Table();
$WP_List_Table->has_items();

Changelog

Since 3.1.0 Introduced.

WP_List_Table::has_items() code WP 6.5.2

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