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

Хуков нет.

Возвращает

(true|false).

Использование

reset_rows();

Список изменений

С версии 5.0.0 Введена.

Код reset_rows() ACF 6.4.2

function reset_rows() {

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

	// return
	return true;
}