acf_loop::is_empty()
is_empty
This function will return true if no loops exist
Метод класса: acf_loop{}
Хуков нет.
Возвращает
(true|false)
.
Использование
$acf_loop = new acf_loop(); $acf_loop->is_empty();
Список изменений
С версии 5.3.2 | Введена. |
Код acf_loop::is_empty() acf loop::is empty ACF 6.0.4
function is_empty() { return empty( $this->loops ); }