WP_List_Table::has_items()publicWP 3.1.0

Whether the table has items to display or not

Метод класса: 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() WP 6.1.1

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