<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How to modify the WordPress “from email address” - Frequently Asked Questions				            </title>
            <link>https://wpdiscuz.com/community/f-a-q/how-to-modify-the-wordpress-from-email-address/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 06 Oct 2026 19:59:28 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>How to modify the WordPress “from email address”</title>
                        <link>https://wpdiscuz.com/community/f-a-q/how-to-modify-the-wordpress-from-email-address/#post-20406</link>
                        <pubDate>Tue, 11 Apr 2023 11:19:55 +0000</pubDate>
                        <description><![CDATA[Are you looking for a way to change the &quot;from email address&quot; in your WordPress theme? 
All you have to do is add this code to your WordPress active theme’s functions.php file:
add_filter(&#039;...]]></description>
                        <content:encoded><![CDATA[<p>Are you looking for a way to change the "from email address" in your WordPress theme? </p>
<p>All you have to do is add this code to your WordPress active theme’s functions.php file:</p>
<pre contenteditable="false">add_filter('wp_mail_from', function ($email){
   return '***no-reply@blogname.com***';
});</pre>
<p>Don't forget to change the <span style="color: #ff0000"><strong><i>red-marked</i></strong></span> code (set the right email) before using it. </p>
<p>This is a small instruction on How to Easily Add Custom Code in WordPress:  https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/</p>
<p>More info for the wp_mail_from hook here: https://developer.wordpress.org/reference/hooks/wp_mail_from/</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/f-a-q/">Frequently Asked Questions</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/f-a-q/how-to-modify-the-wordpress-from-email-address/#post-20406</guid>
                    </item>
							        </channel>
        </rss>
		