Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hi,
I found your very interesting information about changing Name and email address , in your documentation, using Code Snippet.
add_filter( 'wp_mail_from', function( $name ) {return 'noreply@mydomain.com'; } ); add_filter( 'wp_mail_from_name', function( $name ) {return 'My Forum Name'; } );
On the same website, I have :
A store: mystore.com with the name "The store"
A Blog: mystore.com/blog with the name "The Blog"
A forum: mystore.com/community with the name "The forum"
How do I set "The Forum" as the name for the "User Registration and Password Reset Emails" sender but ONLY for forum subscribers and not for "Store" customers and "Blog" readers?
Thanks for your support
wpForo doesn't have option to set the email sender name by User Roles. It better to set the Website Name as email sender.
Ok, thank you.