MVS Blog

Insights, Trends, and More: MVS Blog

How to Change the default wordpress@ email address

How to Change the default wordpress@ email address

2- Copy and paste the following lines:

// Change default WordPress email address

add_filter('wp_mail_from', 'new_mail_from');

add_filter('wp_mail_from_name', 'new_mail_from_name');

function new_mail_from($old) {

return This email address is being protected from spambots. You need JavaScript enabled to view it.';

}

function new_mail_from_name($old) {

return 'Your Name';

}

Replace ‘This email address is being protected from spambots. You need JavaScript enabled to view it.’ and ‘Your Name’ with your information.

Top Clutch Development Company India 2022 Award
Top Web Development Company 2022
Image
MVS ISO/IEC 27001 Information security management systems Certification
MVS Microsoft Certified: Power BI Data Analyst