Docs

EVF_Form_Fields::field_prefill_value_property( array $properties, array $field, array $form_data ): array

Prefill field value with either fallback or dynamic data.

Description

Needs to be public (although internal) to be used in WordPress hooks.

Parameters

$propertiesarrayrequired
Field properties.
$fieldarrayrequired
Current field specific data.
$form_dataarrayrequired
Prepared form data/settings.

Return

array Modified field properties.

Changelog

VersionDescription
1.6.5Introduced.