ACF_Data::count │ public │ ACF 5.7.10

count

Returns the data count.

Method of the class: ACF_Data{}

No Hooks.

Returns

integer.

Usage

$ACF_Data = new ACF_Data();
$ACF_Data->count();

Changelog

Since 5.7.10 Introduced.

ACF_Data::count() code ACF 6.8.8

function count() {
	return count( $this->data );
}