change "from" email
Hey there,
Im trying to change the default "from" adress where emails are sent from. For example when someone is requesting a new password. I've added the following code in functions.php:
Code:
//email from name
function my_wp_mail_from_name($name) {
return 'mydomain.com';
}
//email from email function
function my_wp_mail_from($content_type) {
return 'system@mydomain.com';
}
add_filter('wp_mail_from','my_wp_mail_from');
add_filter('wp_mail_from_name','my_wp_mail_from_name');
This does work in other themes i use but im not sure how to succeed this within classipress. Hope someone can help me.
Greetings,
Jaco
- - - Updated - - -
#%!!
This was really stupid, excuse me. Just use the setting on the general setting page.