reservation sender mail name change

Pending
autoRoyal - Automotive WordPress Theme autoRoyal - Automotive WordPress Theme July 13, 2020
Login to reply
Alex Gurghis Support Agent
4 months ago

Hi,

You can add this code into functions.php file to change the wordpress sender email and name: 

// Function to change email address
 function wpb_sender_email( $original_email_address ) {
    return '[email protected]';
}
// Function to change sender name
function wpb_sender_name( $original_email_from ) {
    return 'Giorgi Khutsishvili';
}
// Hooking up our functions to WordPress filters 
add_filter( 'wp_mail_from', 'wpb_sender_email' );
add_filter( 'wp_mail_from_name', 'wpb_sender_name' ); 
Giorgi Khutsishvili
4 months ago

Hello 

how can i change reservation sender mail name . when i get reservation mail i get it from wordpress i want to change it with my company's name.