<?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 can I include custom field to actual message - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 19 May 2026 12:33:48 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-19456</link>
                        <pubDate>Mon, 13 Feb 2023 16:25:27 +0000</pubDate>
                        <description><![CDATA[I&#039;m also in similar situation and wondering perfect answer about it. I get lot of ans through peoples and internet but all are useless. But thanks to all you guys for giving best answer acco...]]></description>
                        <content:encoded><![CDATA[<p>I'm also in similar situation and wondering perfect answer about it. I get lot of ans through peoples and internet but all are useless. But thanks to all you guys for giving best answer according this issue.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Zohan</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-19456</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-17003</link>
                        <pubDate>Mon, 17 Oct 2022 08:10:35 +0000</pubDate>
                        <description><![CDATA[@validhan,
We&#039;ve checked it several times, it works fine. Please see the screenshot:]]></description>
                        <content:encoded><![CDATA[<p>@validhan,</p>
<p>We've checked it several times, it works fine. Please see the screenshot: </p>
2867]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-17003</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-17000</link>
                        <pubDate>Mon, 17 Oct 2022 07:27:40 +0000</pubDate>
                        <description><![CDATA[Hi @asti  Thanks for all information and hook code. I test it on my wordpress but unfortunately it does not worked. I even tried to implement it on new installed wordpress with only WPDiscuz...]]></description>
                        <content:encoded><![CDATA[<p>Hi @asti  Thanks for all information and hook code. I test it on my wordpress but unfortunately it does not worked. I even tried to implement it on new installed wordpress with only WPDiscuz plugin but still it does not work as well.</p>
<p>Please can you check and test the code again if it is correct.</p>
<p>Note please I tried to implement it directly from <span>functions.php and plugin that you suggested as well. I even tried to specify my own meta key value for custom field and put it into key  field. </span></p>
<p>Please can you provide some solution.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Validhan</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-17000</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16970</link>
                        <pubDate>Thu, 13 Oct 2022 10:25:15 +0000</pubDate>
                        <description><![CDATA[@validhan,
Please follow the steps below: 
1. Put the following hook code in the functions.php file of the active theme:
add_filter(&#039;comment_notification_text&#039;, function($notify_message, ...]]></description>
                        <content:encoded><![CDATA[<p>@validhan,</p>
<p>Please follow the steps below: </p>
<p>1. Put the following hook code in the functions.php file of the active theme:</p>
<pre contenteditable="false">add_filter('comment_notification_text', function($notify_message, $comment_ID){
	$customFiled = get_comment_meta($comment_ID, '***key***',  true);
	if($customFiled){
		$notify_message .= "\n" ;
		$notify_message .= "***Department :*** " . $customFiled;
	}
	return $notify_message;
}, 9, 2);</pre>
<p>This instruction should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/</p>
<p>2. Replace the red-marked "<span style="color: #ff0000"><strong>key</strong></span>" value with the custom field's meta key. This video shows how to get the meta key of the custom field: </p>
2826
<p>3. The red-marked "<strong><span style="color: #ff0000">Department</span></strong>" phrase also can be changed as you like. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16970</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16969</link>
                        <pubDate>Thu, 13 Oct 2022 10:11:15 +0000</pubDate>
                        <description><![CDATA[Hi @asti There&#039;s an update
Comments – wpDiscuz v7.5 – 12.10.2022
But I custom fields still does not appear in Email]]></description>
                        <content:encoded><![CDATA[Hi @asti There's an update
<h4>Comments – wpDiscuz v7.5 – 12.10.2022</h4>
<p>But I custom fields still does not appear in Email</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Validhan</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16969</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16942</link>
                        <pubDate>Mon, 10 Oct 2022 09:34:17 +0000</pubDate>
                        <description><![CDATA[@validhan,
The previous option is easier. We&#039;ll provide you a solution with the next version of the wpDiscuz plugin. Please wait for the next update. I&#039;ll update this topic with the new hoo...]]></description>
                        <content:encoded><![CDATA[<p>@validhan,</p>
<p>The previous option is easier. We'll provide you a solution with the next version of the wpDiscuz plugin. Please wait for the next update. I'll update this topic with the new hook-code. So the mail will include the value of the custom field. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16942</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16939</link>
                        <pubDate>Mon, 10 Oct 2022 09:15:42 +0000</pubDate>
                        <description><![CDATA[Hi @asti Maybe you can help me with alternative solution.
How can I copy value from dropdown once I select it to comment area as text?
Maybe you can show me code on how to copy dropdown va...]]></description>
                        <content:encoded><![CDATA[<p>Hi @asti Maybe you can help me with alternative solution.</p>
<p>How can I copy value from dropdown once I select it to comment area as text?</p>
<p><span>Maybe you can show me code on how to copy dropdown value to comment area once I select it? For example if I select IT department I want it to appear in comment text area like: Comment section( "IT Department:"...comment ...)</span></p>
2856
<p> </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Validhan</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16939</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16917</link>
                        <pubDate>Fri, 07 Oct 2022 11:18:32 +0000</pubDate>
                        <description><![CDATA[Thank you for the clarification @validhan,
I&#039;m going to ask the developers if there is a solution we can provide you. I&#039;ll update this topic once I get some news for you.]]></description>
                        <content:encoded><![CDATA[<p>Thank you for the clarification @validhan,</p>
<p>I'm going to ask the developers if there is a solution we can provide you. I'll update this topic once I get some news for you. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16917</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16915</link>
                        <pubDate>Fri, 07 Oct 2022 10:52:21 +0000</pubDate>
                        <description><![CDATA[Hello @asti,
I mean about actual notification sent to particular user. I&#039;m using WpDiscuz for custom fields.
For example UserA posts comment &quot;@UserB test&quot; and choses IT department (custom ...]]></description>
                        <content:encoded><![CDATA[<p>Hello @asti,</p>
<p>I mean about actual notification sent to particular user. I'm using WpDiscuz for custom fields.</p>
<p>For example UserA posts comment "@UserB test" and choses IT department (custom dropdown field).</p>
<p>A mail notification has been sent to UserB's email address. As a result, the actual content of the notification displays as "test" without including the custom field "IT Department".</p>
<p>Is there any way to show custom dropdown fields in that message that was sent to UserB?</p>
<p>Maybe I can do it with Meta keys?</p>
2842
2843
<p> </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Validhan</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16915</guid>
                    </item>
				                    <item>
                        <title>RE: How can I include custom field to actual message</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16914</link>
                        <pubDate>Fri, 07 Oct 2022 10:12:40 +0000</pubDate>
                        <description><![CDATA[@validhan,

How can I include custom field to actual notification or email message?

Please clarify a bit what kind of email you mean.]]></description>
                        <content:encoded><![CDATA[<p><span>@validhan,</span></p>
<blockquote>
<p><span>How can I include custom field to actual notification or email message?</span></p>
</blockquote>
<p>Please clarify a bit what kind of email you mean. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/how-can-i-include-custom-field-to-actual-message/#post-16914</guid>
                    </item>
							        </channel>
        </rss>
		