Description

Filters form notification email footer content.

Parameters

$footer
(string) Content displayed in email footer.

Source

wpforms/includes/emails/templates/footer-default.php

More Information

The wpforms_email_footer_text filter determines what content, if any, will be displayed underneath the main body of all form notification emails. By default, the footer will include the text “Sent from”, followed by the name of the site. The site name will be linked to the site’s homepage.

Examples

/**
 * Filters form notification email footer content.
 *
 * @link   https://wpforms.com/developers/wpforms_email_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' );

Snippet Reference: How to Remove or Change Email Notification Footer Text