گرویتی فرم فارسی icon
Utilities

گرویتی فرم فارسی hooks reference

  • By PersianScript
  • v3.0.4
  • Updated

گرویتی فرم فارسی 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.

functions.phpyour child theme
// 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

  • includes/sms/class-notification.php line 314 · used in 2 places
    /**
     * Allows overriding of the notification destination validation
     */
    apply_filters( 'gform_is_valid_notification_to', $is_valid, $to_type, $value, $to_field );
  • includes/sms/class-sms.php line 764
    /**
     * Allow the resend notification email to be skipped
     */
    apply_filters( 'gform_disable_resend_notification', false, $notification, $form, $lead );
  • includes/sms/class-notification.php line 605
    /**
     * Filters the entry meta when notification conditional logic is being edited
     */
    apply_filters( 'gform_entry_meta_conditional_logic_notifications', $entry_meta, $form, $notification_id );
  • includes/sms/class-notification.php line 1409
    /**
     * 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... );
  • includes/sms/class-sms.php line 794
    /**
     * Fires after the resend notifications processing is finished
     */
    do_action( 'gform_post_resend_all_notifications', $form, $lead );
  • includes/sms/class-sms.php line 780
    /**
     * Fires after the current notification processing is finished
     */
    do_action( 'gform_post_resend_notification', $notification, $form, $lead );
  • includes/sms/class-notification.php line 1024
    /**
     * Fires before a notification is deleted.
     */
    do_action( 'gform_pre_notification_deleted', $form['notifications'][ $notification_id ], $form );
  • includes/sms/class-notification.php line 964
    /**
     * Filters the field types supported by notification routing
     */
    apply_filters( 'gform_routing_field_types', self::$supported_fields );
  • includes/sms/class-sms.php line 268
    /**
     * Allows the enabling (false) or disabling (true) of a shortcode preview of a
     * form
     */
    apply_filters( 'gform_shortcode_preview_disabled', true );
  • includes/sms/class-notification.php line 865
    /**
     * Allow custom notification events to be added.
     */
    apply_filters( 'gform_sms_notification_events', $notification_events, $form );
  • src/Payment/Gateways/Zibal.php line 224 · used in 3 places
    do_action( 'gform_post_payment_action', $entry, 'complete_payment' );
  • includes/sms/class-sender.php line 404 · used in 2 places
    apply_filters( 'gform_enable_shortcode_notification_message', true, $form, $lead );
  • includes/sms/class-verification-field.php line 778 · used in 2 places
    apply_filters( 'sms_verification_button', 'تایید شماره تلفن', $button, $form );
  • includes/sms/class-verification-field.php line 134 · used in 2 places
    apply_filters( 'sms_verify_field', false );
  • includes/class-merge-tag.php line 29
    apply_filters( 'enable_subtotal_merge_tag', false );
  • includes/class-live-preview.php line 167
    apply_filters( 'gf_live_preview_id', rgget( 'id' ) );
  • includes/class-live-preview.php line 163
    apply_filters( 'gf_live_preview_page', false );
  • includes/sms/class-verification-field.php line 119
    apply_filters( 'gform_button_verify', true );
  • includes/class-merge-tag.php line 207
    apply_filters( 'gform_email_background_color_label', '#EAF2FA', $tag, $entry );
  • includes/class-currencies.php line 28
    apply_filters( 'gform_iran_currencies_is_fa', get_locale() == 'fa_IR', $currencies );
  • includes/sms/class-sender.php line 230
    apply_filters( 'gform_save_and_continue_resume_url', add_query_arg( [ 'gf_token' => $resume_token ], $page_url ), $form, $resume_token, $phone );
  • includes/class-transaction-id.php line 26
    apply_filters( 'gform_transaction_id', $masked_input, $entry, $form );
  • includes/sms/class-entry.php line 393
    apply_filters( 'gravity_sms_pro_merge_tags_list', $html, $form );
  • includes/sms/class-verification-field.php line 128
    apply_filters( 'sms_verify_display_none', true );
  • includes/sms/class-verification-field.php line 136
    apply_filters( 'sms_verify_resend', false );
  • includes/sms/class-verification-field.php line 115
    apply_filters( 'sms_verify_self_validation', true );
  • includes/sms/class-wp-sms-integrate-field.php line 498
    apply_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: