How to Remove or Change Email Notification Footer Text

Overview

Would you like to change or remove the email notification footer text? You may want to change the text at the bottom of the confirmation email to match your own company branding. This tutorial will show you how to either change the footer text or remove it completely.

By default, email notifications for WPForms will include a footer that reads “Sent from YOUR SITE NAME“.

Change or remove the footer text shown in the email notifications

Implementation Options

We’ll show you how to remove the footer text but also give you code on how to change this text (should you choose).

If you’d like to completely remove that text from future form notifications, you can add the following code to your site.

/**
 * Filters form notification email footer content.
 *
 * @link https://wpforms.com/developers/how-to-remove-or-change-email-notification-footer-text/
 *
 * @param  array $footer
 * @return string
 */
function wpf_dev_footer_text( $footer ) {
	$footer = '';
	return $footer;
}
add_filter( 'wpforms_email_footer_text', 'wpf_dev_footer_text' );

Or, if you’d rather just change the ‘Sent From’ text, you can instead add the code below to your site.

Just change the part that reads ‘NEW TEXT HERE’:

/**
 * Filters form notification email footer content.
 *
 * @link https://wpforms.com/developers/how-to-remove-or-change-email-notification-footer-text/
 *
 * @param  array $footer
 * @return string
 */
function wpf_dev_email_footer_text( $footer ) {
	$footer = sprintf( __( 'NEW TEXT HERE <a href="%s" style="color:#bbbbbb;">%s</a>', 'wpforms' ), esc_url( home_url() ), wp_specialchars_decode( get_bloginfo( 'name' ) ) );
	return $footer;
}
add_filter( 'wpforms_email_footer_text', 'wpf_dev_email_footer_text' );

And that’s all you need to change or remove the footer text from the notification emails. Would you like to further customize the notification emails? You can take a look at our article on How to Include Page Break, Section Divider, and HTML fields in notifications.

Filter reference: wpforms_email_footer_text