Change the default wordpress@ email address

By default WordPress emails, such as comment notifications, are sent from

WordPress <wordpress@yourdomain.com>

Not entirely sure why WordPress doesn’t have a built-in option to change this but if you want to change it simply add this to your functions.php file…

Obviously substituting ‘yourname@yourdomain.com’ and ‘Your Name’

35 Responses to Change the default wordpress@ email address

  1. ddunnvi says:

    I am adding this in, but it’s not working 🙁 OceanWP Theme

  2. Connor Avery says:

    Still works a treat. Is there anyway to make this work globally across all themes present on the server? Also will this need to be included after each update of the theme?

    • daretothink says:

      Hi. You would need to include the code in each of the theme’s function files. I build bespoke themes for each client so am unsure of the update process of themes you have. If you are using a child theme then you should be able to add your own functions.php file to that theme folder and that should remain as is when you update the main theme. Might be worth just testing that before updating lots of themes though.

      • Connor Avery says:

        Thank you for the reply. I will let you know the outcome when the theme requires updating. Hopefully the functions file remains the same to the sake of any modifications.

  3. I am using 2 email addresses for my website! I don’t know how to change the address where I am getting contacted on a plugin called WPforms

    anyone know that?

  4. Admin says:

    Still works fine! In 2018 – tested!
    (sorry for the name used – Admin – I am not an admin for this site – just doing something using this name on my own website and the name was by default.)

  5. Adil ibrar says:

    lets try

Leave a Reply

Your email address will not be published. Required fields are marked *