Once the student register , mail is sent to him but it show that it is from WordPress as per below picture
https://1drv.ms/u/s!AjAM94OiflcQikPwv08Ck79ciiow
please i need my website name to appear not WordPress name
add_filter('wp_mail_from', 'new_mail_fromqw');
add_filter('wp_mail_from_name', 'new_mail_from_nameqw');
function new_mail_fromqw($old) {
return '[email protected]';
}
function new_mail_from_nameqw($old) {
return 'www.site.com';
}
paste this above code into wp-admin > plugins > editor > select wplms customizer > customizer.php > paste this code at the last line of page carefully. Save.
PS :change the ” www.site.com ” and ” [email protected] ” in above code before adding the code in wplms customizer plugin .
This reply has been marked as private.
This reply has been marked as private.
MkModerator
Ok. Please share your admin credentials and site URL in private reply if by adding above code its not working. above code explanation:
refer:
http://prntscr.com/m0317v
This reply has been marked as private.
MkModerator
This reply has been marked as private.
This reply has been marked as private.
MkModerator
You forgot to share password.
This reply has been marked as private.
MkModerator
Its not connecting.
refer:
http://prntscr.com/m1kre0
This reply has been marked as private.
MkModerator
In above code given by me, priority was not set, that's why it was not working.
I have changed the code, please check its working properly or not?
This reply has been marked as private.