Form fields class.
Methods
- __construct — Constructor.
- edit_form_field_display — Edit form field display on the entry back-end.
- field_display — Field display on the form front-end.
- field_display_error — Display field input errors if present.
- field_display_sublabel — Display field input sublabel if present.
- field_element — Helper function to create field option elements.
- field_exporter — Filter callback for outputting formatted data.
- field_is_limit — Field with limit.
- field_new — Create a new field in the admin AJAX editor.
- field_option — Helper function to create common field options that are used frequently.
- field_options — Output form fields options.
- field_prefill_value_property — Prefill field value with either fallback or dynamic data.
- field_preview — Field preview inside the builder.
- field_preview_option — Helper function to create common field options that are used frequently in the field preview.
- format — Formats and sanitizes field.
- get_field_settings — Get the form fields after they are initialized.
- get_single_field_property_value — Get the value to prefill, based on field data and current properties.
- get_single_field_property_value_choices — Get the value to prefill for choices section, based on field data and current properties.
- implode_recursive — Recursively process an array with an implosion.
- init_hooks — Hook in tabs.
- remove_field_choices_defaults — Remove all admin-defined defaults from choices-related fields only.
- validate — Validates field on form submit.