گرویتی فرم فارسی 3.0.4 has 4 actions and 23 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when گرویتی فرم فارسی fires an action
add_action( 'gform_post_resend_all_notifications', function( $form, $lead ) {
// Your code runs here.
}, 10, 2 );
// Change a value گرویتی فرم فارسی is about to use
add_filter( 'gform_is_valid_notification_to', function( $is_valid, $to_type, $value, $to_field ) {
// Change $is_valid here.
return $is_valid;
}, 10, 4 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Allows overriding of the notification destination validation */ apply_filters( 'gform_is_valid_notification_to', $is_valid, $to_type, $value, $to_field ); -
/** * Allow the resend notification email to be skipped */ apply_filters( 'gform_disable_resend_notification', false, $notification, $form, $lead ); -
/** * Filters the entry meta when notification conditional logic is being edited */ apply_filters( 'gform_entry_meta_conditional_logic_notifications', $entry_meta, $form, $notification_id ); -
gform_notification_actions
filter/** * Filters the row action links. */ apply_filters( 'gform_notification_actions', [ 'edit' => '<a href="' . esc_url( $edit_url ) . '">' . esc_html__( 'Edit', 'gravityforms' ) . '</a>', 'duplicate' => '<a href="javascript:void(0);" onclick="javascript: DuplicateNotification(\'' . esc_js( $item['id'] ) . '\');" onkeypress="javascript: DuplicateNotification(\'' . esc_js( $item['id'] ) . '\');" style="cursor:pointer;">' . esc_html__( 'Duplicate', 'gravityforms' ) . '</a>', 'dele... ); -
/** * Fires after the resend notifications processing is finished */ do_action( 'gform_post_resend_all_notifications', $form, $lead ); -
/** * Fires after the current notification processing is finished */ do_action( 'gform_post_resend_notification', $notification, $form, $lead ); -
/** * Fires before a notification is deleted. */ do_action( 'gform_pre_notification_deleted', $form['notifications'][ $notification_id ], $form ); -
gform_routing_field_types
filter/** * Filters the field types supported by notification routing */ apply_filters( 'gform_routing_field_types', self::$supported_fields ); -
/** * Allows the enabling (false) or disabling (true) of a shortcode preview of a * form */ apply_filters( 'gform_shortcode_preview_disabled', true ); -
/** * Allow custom notification events to be added. */ apply_filters( 'gform_sms_notification_events', $notification_events, $form ); -
gform_post_payment_action
actiondo_action( 'gform_post_payment_action', $entry, 'complete_payment' ); -
apply_filters( 'gform_enable_shortcode_notification_message', true, $form, $lead ); -
sms_verification_button
filterapply_filters( 'sms_verification_button', 'تایید شماره تلفن', $button, $form ); -
sms_verify_field
filterapply_filters( 'sms_verify_field', false ); -
enable_subtotal_merge_tag
filterapply_filters( 'enable_subtotal_merge_tag', false ); -
gf_live_preview_id
filterapply_filters( 'gf_live_preview_id', rgget( 'id' ) ); -
gf_live_preview_page
filterapply_filters( 'gf_live_preview_page', false ); -
gform_button_verify
filterapply_filters( 'gform_button_verify', true ); -
apply_filters( 'gform_email_background_color_label', '#EAF2FA', $tag, $entry ); -
gform_iran_currencies_is_fa
filterapply_filters( 'gform_iran_currencies_is_fa', get_locale() == 'fa_IR', $currencies ); -
apply_filters( 'gform_save_and_continue_resume_url', add_query_arg( [ 'gf_token' => $resume_token ], $page_url ), $form, $resume_token, $phone ); -
gform_transaction_id
filterapply_filters( 'gform_transaction_id', $masked_input, $entry, $form ); -
apply_filters( 'gravity_sms_pro_merge_tags_list', $html, $form ); -
sms_verify_display_none
filterapply_filters( 'sms_verify_display_none', true ); -
sms_verify_resend
filterapply_filters( 'sms_verify_resend', false ); -
sms_verify_self_validation
filterapply_filters( 'sms_verify_self_validation', true ); -
wp_sms_display_none
filterapply_filters( 'wp_sms_display_none', true );
Generated from گرویتی فرم فارسی's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: