acf_loop::is_empty │ public │ ACF 5.3.2

This function will return true if no loops exist

Method of the class: acf_loop{}

No Hooks.

Returns

(boolean).

Usage

$acf_loop = new acf_loop();
$acf_loop->is_empty();

Changelog

Since 5.3.2 Introduced.

acf_loop::is_empty() code ACF 6.8.8

function is_empty() {

	return empty( $this->loops );
}