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_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.
gform_state_pre_encode
This article explains how to use the gform_state_pre_encode action hook to add values to the form state before it is encoded.
gform_stripe_api_mode
This filter allows the API mode to be set to “live” or “test”.
gform_stripe_cancel_url
Filters Stripe session’s cancel URL, which is the URL that users will be sent to after canceling the payment on Stripe.
gform_stripe_charge_authorization_only
This filter allows authorization only transactions by preventing the capture request from being made after the entry has been saved.
gform_stripe_charge_description
This filter can be used to modify the charge description before it is sent to Stripe.
gform_stripe_charge_pre_create
This filter allows the charge properties to be overridden before the charge is created by the Stripe API.
gform_stripe_checkout_options
This filter was removed in Stripe version 3.0. The functionality can be covered by the gform_stripe_session_data filter.
gform_stripe_checkout_payment_methods
This Stripe Add-On filter allows manual setting of the payment methods used by Stripe Checkout.
gform_stripe_checkout_supported_cards
This filter was removed in Stripe version 3.0.This filter was removed in Stripe version 3.0.