reset_rows()ACF 5.0.0

reset_rows

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

Хуков нет.

Возвращает

(true|false).

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

reset_rows();

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

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

Код reset_rows() ACF 6.0.4

function reset_rows() {

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

	// return
	return true;

}