Hooks
Actions
Learn about the different action hooks available within Gravity Forms. Action hooks allow you to perform additional actions when an event takes place.
Filters
Discover the different filter hooks available within Gravity Forms. You can use filters to modify data to better match your particular needs.
JavaScript
Find explanations of the various JavaScript hooks used by Gravity Forms and its add-ons.
Deprecated
Here you will find a listing of the action hooks in Gravity Forms which have been deprecated.
Articles
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_abilities_init
The gform_abilities_init action fires after all core Gravity Forms abilities are registered. It is a safe moment for add-ons or site code to register their own via wp_register_ability().
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_categories
The gform_ability_categories filter controls the ability categories registered with WordPress. Use it to add one for your own abilities, keyed by slug with a label and description.
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_ability_hidden_field_ids
The gform_ability_hidden_field_ids filter hides sensitive fields from AI agents.
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.
gform_abort_conditional_logic_do_action
This filter is affects Gravity Forms conditional logic processing to allow add-ons to abort the gf_do_action() function.
gform_abort_submission_with_confirmation
The gform_abort_submission_with_confirmation filter determines if submissions are aborted without saving the entry.
gform_action_pre_payment_callback
Runs a function after payment, before the callback occurs.