acf_loop::is_empty() public ACF 5.3.2
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 5.9.1
function is_empty() {
return empty( $this->loops );
}