Developer & API
Gather Grove Forms is built to be extended. This page is the orientation; the precise, versioned contracts (exact hook signatures, REST schemas, and the read-only query API) ship with the plugin source and are kept current there.
Conventions
- Hook prefix:
gather_grove/forms/(slash-style). - REST namespace:
/wp-json/gather-grove/forms/v1/. - PHP namespace:
GatherGroveForms. Text domain / CSS prefix:gather-grove-forms/.gg-forms-. - Capability:
gg_manage_formsfor management; the public submission route is anonymous (validated, rate-limited, spam-screened).
Register a custom field type
Filter gather_grove/forms/field_types and return your type implementing the field-type interface (render(), validation, admin schema). Composite/repeating types implement the composite interface.
Register a custom integration
The universal ecosystem seam. Add to the gather_grove/forms/integrations filter (keyed by your integration’s key()); implement IntegrationInterface (key, label, settings_schema, fire(IntegrationContext, config)). Your fire() runs after the entry is persisted, receives the submission snapshot, returns success/failed/skipped, and must enforce its own licensing server-side. This signature is a permanent contract.
React to submissions
Action hooks fire across the lifecycle — before_submit, after_validate, before_save_entry, after_save_entry, resolve_outcome, integration_fired, after_submit. Filters let you reject a field (validate_field → WP_Error), adjust the spam score (spam_check), tune the rate limit (rate_limit), or set retention windows. confirmation_message ($message, $form, $entry_uuid) changes the message shown after a successful submission; Pulse uses it to say “check your inbox” for a signup that must be confirmed by email.
REST
Full CRUD for forms (/forms), entries (/entries), public submission (/submissions, /submissions/partial), and template instantiation (/forms/from-template). Management routes require capability + nonce; the public submission route is rate-limited.
Read forms data from another plugin
Use the read-only query API — QueryForms::list(), QuerySubmissions::find_by_field() / ::analyze(). Read-only, completed submissions only (you verify caps).
Headless
Basic REST is available today; a fuller SDK (@gather-grove/forms-react, @gather-grove/forms-core) is planned for 1.0.
Applies to Gather Grove Forms v1.41.5. Last synced November 11, 2026.