acf_form_front::enqueue_formpublicACF 5.4.0

enqueue

This function will enqueue a form

Method of the class: acf_form_front{}

No Hooks.

Returns

$post_id. (int)

Usage

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

Changelog

Since 5.4.0 Introduced.

acf_form_front::enqueue_form() code ACF 6.0.4

function enqueue_form() {

	// check
	$this->check_submit_form();

	// load acf scripts
	acf_enqueue_scripts();

}