//// INSTRUCTIONS:
//// Use a plugin like WPCodeBox to add this code snippet to your website.
//// WPCodeBox Guide and Discount: 🔥 https://mylisting.club/wpcodebox 🔥
//// 1. Adjust the 'return 'firstname.lastname@example.com';' 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 'FirstName.LastName@example.com';
}
// 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' );