acf_form_front::enqueue_form()publicACF 5.4.0

enqueue

This function will enqueue a form

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

Хуков нет.

Возвращает

$post_id. (int)

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

$acf_form_front = new acf_form_front();
$acf_form_front->enqueue_form();

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

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

Код acf_form_front::enqueue_form() ACF 6.0.4

function enqueue_form() {

	// check
	$this->check_submit_form();

	// load acf scripts
	acf_enqueue_scripts();

}