acf_form_front::get_form()publicACF 5.5.8

get_form

description

Метод класса: acf_form_front{}

Хуков нет.

Возвращает

$post_id. (int)

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

$acf_form_front = new acf_form_front();
$acf_form_front->get_form( $id );
$id **
-
По умолчанию: ''

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

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

Код acf_form_front::get_form() ACF 6.0.4

function get_form( $id = '' ) {

	// bail early if not set
	if ( ! isset( $this->forms[ $id ] ) ) {
		return false;
	}

	// return
	return $this->forms[ $id ];

}