Custom Email Notification with WP Forms
-
Hello,
I created a form with WP Form on our website and I would like to customize the footer of the email notification. By default, the email notification includes a footer that reads ” sent from ‘site name’ ” but I’d like to customize that. I found the following code to add a custom text instead:/** * 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' );
My question is: I would also like to add an image (our logo) to both sides of that footer text. Is it possible to do so ? If so, how should i do it?
Thank you very much,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Email Notification with WP Forms’ is closed to new replies.