How to Add a Back Button for Full-Scre...
Learn how to add a responsive “Back to WP” button to your full-screen mod...

WPCodeBox
501
Learn how to easily change the sender name and email address for outgoing WordPress emails. This snippet provides a simple solution to customize your WordPress email settings for improved branding.
/**
* Author: WP Turned UP
* Author URI: https://wpturnedup.com
*/
//// 1. Adjust the 'return '[email protected]';' entry as desired.
//// 2. Adjust the 'return 'FirstName LastName';' entry as desired.
//// ----------------- CODE SNIPPET IS BELOW THIS LINE - REMOVE THIS LINE AND ABOVE -----------------
// CHANGE THE EMAIL ADDRESS
function wptu_sender_email( $original_email_address ) {
return '[email protected]';
}
// CHANGE THE SENDER NAME
function wptu_sender_name( $original_email_from ) {
return 'FirstName LastName';
}
// APPLY THE FILTERS
add_filter( 'wp_mail_from', 'wptu_sender_email' );
add_filter( 'wp_mail_from_name', 'wptu_sender_name' );


Redirect users after listing submission on your MyListing website.



