All features

Cherry Blossom feature

ACF: Gravity Forms

Supplies Gravity Forms choices to ACF preset fields.

Supplies Gravity Forms choices to ACF preset fields.

Capabilities and extension points

Registers preset and form-cache invalidation hooks.

Registers the active-form choice preset.

  • param Presets $handler Preset registry.

Gets cached choices for active Gravity Forms forms.

  • return array Form labels keyed by form ID.

Builds choices from active Gravity Forms forms.

  • return array Form labels keyed by form ID.

Gets the project-defined default-form setting.

  • return mixed Default form value, or false when no default is configured.

Clears the cached ACF form choices after a form changes.

Source reference

This editable reference page is based on the PHP documentation in plugins/advanced-custom-fields/class-gravity-forms.php.