acf_form_front::get_render_id
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() 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;
}