acf_form_front::get_formpublicACF 5.5.8

description

Method of the class: acf_form_front{}

No Hooks.

Returns

$post_id. (int)

Usage

$acf_form_front = new acf_form_front();
$acf_form_front->get_form( $id );
$id
.
Default: ''

Changelog

Since 5.5.8 Introduced.

acf_form_front::get_form() code ACF 6.8.8

function get_form( $id = '' ) {

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

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