acf_form_front::get_render_id │ protected │ ACF 6.8.4

Returns the per-request render ID, generating one if necessary.

Method of the class: acf_form_front{}

No Hooks.

Returns

string.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_render_id(): string;

Changelog

Since 6.8.4 Introduced.

acf_form_front::get_render_id() code ACF 6.8.8

protected function get_render_id(): string {
	if ( $this->render_id === null ) {
		$this->render_id = wp_generate_uuid4();
	}
	return $this->render_id;
}