Hooks

Articles

gform_spinner_target_elem

Use this filter to modify the element after which the spinner will be inserted. By default, it will be the next button (for multi-page forms) or submit button.

gform_spinner_url

Allows modifying the spinner URL when the gformAddSpinner() function is called directly.

gform_square_authorization_only

The gform_square_authorization_only filter allows authorization only transactions by preventing the capture request from being made after the entry has been saved.

gform_square_card_details_style

This filter from the official Gravity Forms Square Add-On allows you to control the look of the Square credit card details input.

gform_square_card_style

This filter was removed from the Square Add-On and is no longer supported. From Gravity Forms Square Add-On version 1.7, the look of the Square field can be managed via the gform_square_card_details_style filter.

gform_square_data_sync_enabled

Allows data sync to be disabled for Square Add-On. Default is Enabled.

gform_square_payment_data

The gform_square_payment_data filter in version 1.0 of the Square add-on allows you to modify the payment data before it is sent to Square.

gform_square_show_custom_app_settings

The gform_square_show_custom_app_settings filter allows displaying the custom app settings link in the Square add-on settings page.

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.