Articles

gform_addon_pages_using_components

The gform_addon_pages_using_components filter allows developers to override the add-on admin page slugs that should load Gravity Forms components, including scoped admin styles and component assets.

gform_state_lifespan

The State_Handler class generates and validates a hidden 'state' value attached to every Gravity Forms form. It prevents submitted values from being tampered with from form display through form submission, and prevents stale submissions from old form loads from being accepted.

A Solutions Guide to Spam Prevention

This article explains how to catch different types of spam, such as bots, disposable email addresses, and gibberish content, with the Gravity Forms features and add-ons best suited to detect or block them.

gform_ability_definition

The gform_ability_definition filter is a per-definition hook that runs after the bulk filter, for each ability. Use it to adjust labels, descriptions, capabilities, or schemas.

gform_abilities_definitions

The gform_abilities_definitions filter is a bulk hook over the full list of ability definitions before registration. Use it to add your own, remove ones you never want registered, or adjust several at once.

gform_mcp_registered_addons

The gform_mcp_registered_addons filter is a last-mile hook over the add-on MCP contributions (the per-add-on tool groups shown on the settings screen). Entries are keyed by namespace. It’s mostly for add-on developers, though a site can also use it to drop an add-on’s tools wholesale.

gform_mcp_public_ability

The gform_mcp_public_ability filter controls per-ability MCP visibility, applied at registration. It runs before the settings-screen gate, so it can hide a tool entirely but can't expose one the admin hasn't enabled.

gform_mcp_server_tools

The gform_mcp_server_tools filter has the final say on which enabled tools the dedicated Gravity Forms MCP server lists to connected agents.

gform_abilities_log_safe_input_keys

The gform_abilities_log_safe_input_keys filter lets add-ons with their own identifier inputs extend that list.

gform_ability_permission_denied

The gform_ability_permission_denied action fires when a call is blocked due to a failed permission check, the connecting user lacks the required capability, the tool is disabled in settings, or submissions are blocked.