reset_rows()ACF 5.0.0

This function will find the current loop and unset it from the global array. To be used when loop finishes or a break is used

No Hooks.

Returns

(true|false).

Usage

reset_rows();

Changelog

Since 5.0.0 Introduced.

reset_rows() code ACF 6.8.8

function reset_rows() {

	// remove last loop
	acf_remove_loop( 'active' );

	// return
	return true;
}