Hooks

Articles

gform_post_category_args

Use this filter to change the $args passed to the wp_dropdown_categories() function and filter the list of categories displayed when a post category field is configured with the “display all categories” setting selected.

gform_post_category_choices

The gform_post_category_choices filter in Gravity Forms can be used to alter the post category field choices when the form markup is being prepared.

gform_post_conditional_logic_field_action

The gform_post_conditional_logic_field_action JavaScript action allows developers to perform custom actions when a field is displayed or hidden by conditional logic on the frontend.

gform_post_data

This filter is executed right before the post is created, allowing post data to be manipulated before the post is created.

gform_post_enqueue_scripts

The gform_post_enqueue_scripts action hook is executed at the end of the process of enqueuing scripts and styles for each form embedded in the current page by shortcode or block.

gform_post_entry_list

This hook fires after the entry list content is generated.

gform_post_export_entries

Triggered after exporting entries from a form, allowing further actions to be performed.

gform_post_fail_subscription_payment

Triggered after an existing subscription payment fails.

gform_post_form_activated

This action is triggered after an inactive form is marked as active, allowing further actions to be performed.

gform_post_form_deactivated

This action is triggered after an active form is marked as inactive, allowing further actions to be performed.