acf_loop::is_loop
This function will return true if a loop exists for the given array index
Метод класса: acf_loop{}
Хуков нет.
Возвращает
(true|false)
.
Использование
$acf_loop = new acf_loop(); $acf_loop->is_loop( $i );
- $i
- .
Список изменений
С версии 5.3.2 | Введена. |
Код acf_loop::is_loop() acf loop::is loop ACF 6.4.2
function is_loop( $i = 0 ) { return isset( $this->loops[ $i ] ); }