YeeMail 3.0.1 has 12 actions and 74 filters, read directly from its source code on Nov 18, 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 YeeMail fires an action
add_action( 'gform_after_email', function( $is_success, $to, $subject, $message, $headers, $attachments, $message_format, $from, $from_name, $bcc, $reply_to, $entry, $cc ) {
// Your code runs here.
}, 10, 13 );
// Change a value YeeMail is about to use
add_filter( 'gform_enable_shortcode_notification_message', function( $value, $form, $lead ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
gform_enable_shortcode_notification_message
filter Used by 5 plugins → Copy link Customise this hook/** * Allows the disabling of the notification message defined in the shortcode. */ apply_filters( 'gform_enable_shortcode_notification_message', true, $form, $lead ); -
/** * By default, product fields are not displayed in their containing section * (displayed in a product summary table). If the filter is used to disable * this, product fields are displayed in the section like other fields */ apply_filters( 'gform_display_product_summary', true, $field, $form, $entry ); -
/** * This filter is documented in src/SmartTags/SmartTag/FieldHtmlId.php. */ apply_filters( 'wpforms_html_field_value', $field_val, isset( $this->fields[ $field_id ] ) ? $this->fields[ $field_id ] : $field, $this->form_data, 'email-raw' ); -
/** * Filters the locale for the current request. */ apply_filters( 'determine_locale', $determined_locale ); -
/** * Fires after an email is sent */ do_action( 'gform_after_email', $is_success, $to, $subject, $message, $headers, $attachments, $message_format, $from, $from_name, $bcc, $reply_to, $entry, $cc ); -
/** * Filter the closing of the script block. Allows for CDATA closing tags if * needed for XHTML/XML. */ apply_filters( 'gform_cdata_close', '' ); -
/** * Filter the immediate opening of the script block. Allows for CDATA opening * tags if needed for XHTML/XML. */ apply_filters( 'gform_cdata_open', '' ); -
/** * Determine if scripts and stylesheets should be printed or enqueued when * processing form shortcodes after headers have been sent. */ apply_filters( 'gform_disable_print_form_scripts', false, $form, $is_ajax ); -
/** * Allows the hash to be modified. */ apply_filters( 'gform_download_hash', $hash, $form_id, $file ); -
/** * Allows the hash algorithm to be changed when generating the file download * hash. */ apply_filters( 'gform_download_hash_algorithm', $algo ); -
/** * Filter the entry URL */ apply_filters( 'gform_entry_detail_url', $entry_url, $form, $lead ); -
/** * Enables the filter settings for the form fields retrieved from $_POST to be * modified. */ apply_filters( 'gform_field_filter_from_post', $field_filter, $form, $field ); -
/** * Enables the filter settings for the form fields, entry properties, and entry * meta to be overridden. */ apply_filters( 'gform_field_filters', $field_filters, $form ); -
/** * Allows for formatting of the TO email address to improve spam score. */ apply_filters( 'gform_format_email_to', false ); -
gform_html_message_template_pre_send_email
filter Used by 3 plugins → Copy link Customise this hook/** * Allow the template for the html formatted message to be overridden. */ apply_filters( 'gform_html_message_template_pre_send_email', $template ); -
/** * Filter data that will be used to replace merge tags. */ apply_filters( 'gform_merge_tag_data', $data, $text, $form, $lead ); -
/** * Filter the default placeholder for the radio button field other choice. */ apply_filters( 'gform_other_choice_value', $placeholder, $field ); -
/** * Allow custom payment statuses to be defined. */ apply_filters( 'gform_payment_statuses', $payment_statuses ); -
/** * Modify the email before a notification has been sent. You may also use this * to prevent an email from being sent. */ apply_filters( 'gform_pre_send_email', compact( 'to', 'subject', 'message', 'headers', 'attachments', 'abort_email' ), $message_format, $notification, $entry ); -
/** * A filter to allow you to modify the form preview link. */ apply_filters( 'gform_preview_form_link', $preview_link ); -
/** * Filters the input types to use when checking if a field is a product field. */ apply_filters( 'gform_product_field_types', array( 'option', 'quantity', 'product', 'total', 'shipping', 'calculation', 'price', 'hiddenproduct', 'singleproduct', 'singleshipping' ) ); -
gform_product_info_name_include_field_label
filter Used by 3 plugins → Copy link Customise this hook/** * Enables inclusion of the field label or admin label in the product name for * choice based Product fields. */ apply_filters( 'gform_product_info_name_include_field_label', false ); -
/** * Allow the text to be filtered so custom merge tags can be replaced. */ apply_filters( 'gform_replace_merge_tags', $text, $form, $entry, $url_encode, $esc_html, $nl2br, $format ); -
/** * Filter the conditional logic rule before it is evaluated. */ apply_filters( 'gform_rule_pre_evaluation', $rule, $form, $logic, array(), $entry ); -
/** * Filter the source value of a conditional logic rule before it is compared * with the target value. */ apply_filters( 'gform_rule_source_value', $source_value, $rule, $form, $logic, $entry ); -
/** * Allows sanitization to be turned on or off for the confirmation message. * Only turn off if you're sure you know what you're doing. */ apply_filters( 'gform_sanitize_confirmation_message', $sanitize_confirmation_nessage ); -
/** * Fires when an email from Gravity Forms has failed to send */ do_action( 'gform_send_email_failed', $error, $email, $entry ); -
/** * A filter to allow the modification/disabling of parsing certain PHP within * Gravity Forms */ apply_filters( 'gform_upload_root_htaccess_rules', $rules ); -
/** * Allows default visibility options to be modified or removed and custom * visibility options to be added. */ apply_filters( 'gform_visibility_options', $options ); -
/** * Filters the locale for the current request prior to the default * determination process. */ apply_filters( 'pre_determine_locale', null ); -
/** * This filter is documented in /includes/emails/class-emails.php */ apply_filters( 'wpforms_email_display_empty_fields', false ); -
/** * This filter is documented in /includes/emails/class-emails.php */ apply_filters( 'wpforms_email_display_other_fields', [], $this ); -
wpforms_emails_notifications_display_empty_fields
filter Used by 3 plugins → Copy link Customise this hook/** * Filter whether to display empty fields in the email. */ apply_filters_deprecated( 'wpforms_emails_notifications_display_empty_fields', [ false ], '1.8.5.2 of the WPForms plugin', 'wpforms_email_display_empty_fields' ); -
wpforms_emails_notifications_display_other_fields
filter Used by 3 plugins → Copy link Customise this hook/** * Filter the list of field types to display in the email. */ apply_filters_deprecated( 'wpforms_emails_notifications_display_other_fields', [ [], $this->form_data ], '1.8.5.2 of the WPForms plugin', 'wpforms_email_display_other_fields' ); -
apply_filters( 'gform_merge_tag_filter', $field_value, $merge_tag, $options, $field, $field_label, $format ); -
apply_filters( 'gform_custom_merge_tags', array(), $form_id, $fields, $element_id ); -
apply_filters( 'gform_use_mcrypt', function_exists( 'mcrypt_encrypt' ) ); -
apply_filters( 'yeemail_builder_block_html', $data ); -
apply_filters( 'yeemail_conditional_logic_show', true, $row_condition, $datas ); -
apply_filters( 'everest_forms_email_display_empty_fields', false ); -
apply_filters( 'everest_forms_html_field_value', evf_decode_string( $field_val ), $field['value'], $this->form_data, 'email-html' ); -
apply_filters( 'everest_forms_process_smart_tags', $string, $this->form_data, $this->fields, $this->entry_id ); -
apply_filters( 'gform_admin_error_messages', $errors ); -
apply_filters( 'gform_admin_messages', $messages ); -
apply_filters( 'gform_calculation_formula', $field->calculationFormula, $field, $form, $lead ); -
apply_filters( 'gform_calculation_result', $result, $formula, $field, $form, $lead ); -
apply_filters( 'gform_creditcard_types', $cards ); -
apply_filters( 'gform_currency', $currency ); -
apply_filters( 'gform_disallowed_file_extensions', $extensions ); -
apply_filters( 'gform_field_type_title', $type, $type ); -
apply_filters( 'gform_filters_get_users', array( 'number' => 200, 'fields' => array( 'ID', 'user_login' ) ) ); -
apply_filters( 'gform_is_entry_detail', $is_entry_detail ); -
apply_filters( 'gform_is_entry_detail_edit', $is_entry_detail_edit ); -
apply_filters( 'gform_is_entry_detail_view', $is_entry_detail_view ); -
apply_filters( 'gform_is_form_editor', $is_form_editor ); -
apply_filters( 'gform_is_ssl', $is_ssl ); -
apply_filters( 'gform_is_valid_url', $is_valid, $url ); -
apply_filters( 'gform_merge_tag_list_exclude', $exclude, $element_id, $fields ); -
apply_filters( 'gform_merge_tag_value_pre_calculation', $value, $input_id, rgar( $match, 4 ), $field, $form, $lead ); -
apply_filters( 'gform_pre_replace_merge_tags', $text, $form, $lead, $url_encode, $esc_html, $nl2br, $format ); -
apply_filters( 'gform_rfc_url_validation', true ); -
apply_filters( 'gform_settings_header_buttons', '' ); -
apply_filters( 'plugin_locale', $current_locale, $domain ); -
apply_filters( 'views_edit-yeemail_template_addons', $default_views ); -
do_action( 'yeemail_builder_before', $post_id ); -
apply_filters( 'yeemail_builder_shortcode', array() ); -
do_action( 'yeemail_builder_tab__editor', $post ); -
do_action( 'yeemail_builder_tab__editor_before', $post ); -
do_action( 'yeemail_builder_tab_block' ); -
do_action( 'yeemail_builder_tab_block_addons', $post ); -
do_action( 'yeemail_builder_tab_block_row' ); -
do_action( 'yeemail_builder_tab_block_template' ); -
do_action( 'yeemail_builder_templates' ); -
apply_filters( 'yeemail_contact_form_7_settings', $text, $post_id, $post, $this ); -
apply_filters( 'yeemail_contional_logic_settings', $text ); -
apply_filters( 'yeemail_email_id', array("apply"=>true,"message"=>$message) ); -
apply_filters( 'yeemail_gravity_forms_settings', $field_yeemail, $notification, $form ); -
apply_filters( 'yeemail_gravityforms_message', $message_content_email, $notification, $entry, $this->form, $this->lead, $this ); -
do_action( 'yeemail_header_builder', $post_id ); -
apply_filters( 'yeemail_id_show_demo', "", $post_id ); -
apply_filters( 'yeemail_reset_template', true, $email_type_id ); -
apply_filters( 'yeemail_shortcodes', $shortcodes ); -
apply_filters( 'yeemail_slect_choose_templates_addons', $templates, $post_id ); -
apply_filters( 'yeemail_wpforms_message', $message, $form_data, $fields, $entry_id, $notification_id, $notifications, $datas, $this ); -
apply_filters( 'yeemail_wpforms_settings', $text, $content, $settings, $id ); -
do_action( 'yeemail/loaded' );
Generated from YeeMail's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: