1. Home
  2. Filters
  3. Filter reference: wpforms_email_footer_text

apply_filters( 'wpforms_email_footer_text', $footer );

Filters form notification email footer content.


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.


(string) Content displayed in email footer.



More Information

The code below shows the default email footer text.

$footer = sprintf( esc_html__( 'Sent from %s', 'wpforms' ), '<a href="' . esc_url( home_url() ) . '" style="color:#bbbbbb;">' . wp_specialchars_decode( get_bloginfo( 'name' ) ) . '</a>' );

echo apply_filters( 'wpforms_email_footer_text', $footer );
Updated on October 30, 2018

Was this article helpful?