WP_List_Table::has_items
Determines whether the table has items to display or not.
Метод класса: WP_List_Table{}
Хуков нет.
Возвращает
true|false. Whether the table has items to display.
Использование
$WP_List_Table = new WP_List_Table(); $WP_List_Table->has_items();
Список изменений
| С версии 3.1.0 | Введена. |
Код WP_List_Table::has_items() WP List Table::has items WP 7.1
public function has_items() {
return ! empty( $this->items );
}