Description

The wpforms_email_footer_text 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  string $footer  Content displayed in email footer.
 * @return string
 */

function wpf_dev_email_footer_text( $footer ) {
 
    $footer = sprintf( __( '<a href="%s" style="color:#bbbbbb;">NEW TEXT HERE %s</a>', 'wpforms' ), esc_url( home_url() ) , '' );
 
    return $footer;
 
}
 
add_filter( 'wpforms_email_footer_text', 'wpf_dev_email_footer_text', 30, 1 );

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