Change Prosites Signup Email From Address

When a user pays via the prosites stripe plugin, they receive an email from "Wordpress@mysite.com"

I'd like to change the from name and email address for this notification.

  • Predrag Dubajic
    • Support

    Hey Robert,

    Hope you're doing well today :slight_smile:

    This is default WP from email address and Pro Sites messages are sent through that as well, you should be able to change it by adding below code in your child theme functions.php file or creating mu-plugin for it:

    add_filter('wp_mail_from', 'new_mail_from');
    add_filter('wp_mail_from_name', 'new_mail_from_name');
    
    function new_mail_from($old) {
     return 'admin@yourdomain.com';
    }
    function new_mail_from_name($old) {
     return 'Your Blog Name';
    }

    Change the email and blog name from the code and that should be it :slight_smile:

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.