<?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>
									Report and Flagging API Hooks? - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 17 Jul 2026 05:08:34 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13126</link>
                        <pubDate>Thu, 27 Jan 2022 12:12:09 +0000</pubDate>
                        <description><![CDATA[@asti 
Thank you.]]></description>
                        <content:encoded><![CDATA[<p>@asti </p>
<p>Thank you.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Tetrakern</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13126</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13120</link>
                        <pubDate>Thu, 27 Jan 2022 10:33:14 +0000</pubDate>
                        <description><![CDATA[@tetrakern,
We&#039;re really sorry, but API documentation doesn&#039;t include the hooks for the addons. 
The following three hooks were added: 
add_action(&quot;wpdiscuz_rf_flagged&quot;, &quot;my_custom_functi...]]></description>
                        <content:encoded><![CDATA[<p>@tetrakern,</p>
<p>We're really sorry, but API documentation doesn't include the hooks for the addons. </p>
<p>The following three hooks were added: </p>
<pre contenteditable="false">add_action("wpdiscuz_rf_flagged", "my_custom_function");
add_action("wpdiscuz_rf_down_voted", "my_custom_function");
add_action("wpdiscuz_rf_reported", "my_custom_function");</pre>
<p>The list of the arguments you can find below: </p>
<pre contenteditable="false">   if (!function_exists("my_custom_function")) {
    
    function my_custom_function($args) {
        // $args  - the sent email, that is to whom the email goes
        // $args -  the email subject@
        // $args -  the email body
        // $args - the comment object that has been reported or down voted
        // $args - the current user object who reports or dislikes the comment, in case of guest this is empty        
    }        
}

</pre>]]></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/report-and-flagging-api-hooks/#post-13120</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13106</link>
                        <pubDate>Wed, 26 Jan 2022 14:18:05 +0000</pubDate>
                        <description><![CDATA[@asti 
I see the hooks have been added. Nice. Is there a documentation on them somewhere? Currently, I cannot find the hooks in the API documentation.]]></description>
                        <content:encoded><![CDATA[<p>@asti </p>
<p>I see the hooks have been added. Nice. Is there a documentation on them somewhere? Currently, I cannot find the hooks in the API documentation.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Tetrakern</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13106</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13055</link>
                        <pubDate>Mon, 24 Jan 2022 12:26:56 +0000</pubDate>
                        <description><![CDATA[Thank you for your clarification, @tetrakern!]]></description>
                        <content:encoded><![CDATA[<p>Thank you for your clarification, @tetrakern!</p>
<p> </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/report-and-flagging-api-hooks/#post-13055</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13054</link>
                        <pubDate>Mon, 24 Jan 2022 12:13:23 +0000</pubDate>
                        <description><![CDATA[@asti 
Essentially what&#039;s in the email -- report message, reported comment content/link/id, who submitted the report. Would probably be easier to just put in the whole comment object.]]></description>
                        <content:encoded><![CDATA[<p>@asti </p>
<p>Essentially what's in the email -- report message, reported comment content/link/id, who submitted the report. Would probably be easier to just put in the whole comment object.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Tetrakern</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13054</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13050</link>
                        <pubDate>Mon, 24 Jan 2022 11:30:57 +0000</pubDate>
                        <description><![CDATA[@tetrakern,

We&#039;ll check and get back to you asap.  

This issue will be fixed in the next version. 
Regarding the hook, we need some clarifications. Please let us know what data are ne...]]></description>
                        <content:encoded><![CDATA[<p><span>@tetrakern,</span></p>
<blockquote>
<p><span>We'll check and get back to you asap.  </span></p>
</blockquote>
<p>This issue will be fixed in the next version. </p>
<p>Regarding the hook, we need some clarifications. Please let us know what data are needed in your case as arguments. </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/report-and-flagging-api-hooks/#post-13050</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13044</link>
                        <pubDate>Mon, 24 Jan 2022 10:42:35 +0000</pubDate>
                        <description><![CDATA[@tetrakern,
We&#039;ll check and get back to you asap.]]></description>
                        <content:encoded><![CDATA[<p>@tetrakern,</p>
<p>We'll check and get back to you asap.  </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/report-and-flagging-api-hooks/#post-13044</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13042</link>
                        <pubDate>Mon, 24 Jan 2022 10:32:31 +0000</pubDate>
                        <description><![CDATA[@asti 
There are non JS errors, unfortunately. And you can save the &quot;Report message body&quot; just fine, but not the &quot;Auto-moderation message body&quot;. It will always reset to default. It&#039;s also n...]]></description>
                        <content:encoded><![CDATA[<p>@asti </p>
<p>There are non JS errors, unfortunately. And you can save the "<span>Report message body" just fine, but not the "Auto-moderation message body". It will always reset to default. It's also not saved via Ajax anyway afaik. The problem occurs on two independent servers. Turning off all plugins and using a standard theme doesn't work either.</span></p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Tetrakern</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13042</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13039</link>
                        <pubDate>Mon, 24 Jan 2022 10:05:16 +0000</pubDate>
                        <description><![CDATA[@tetrakern,
Probably you have some js errors on your website.  Please check your JS errors. It seems the problem comes from JS errors. Just press F12, go to the Console tab and check JavaSc...]]></description>
                        <content:encoded><![CDATA[<p>@tetrakern,</p>
<p>Probably you have some js errors on your website.  Please check your JS errors. It seems the problem comes from JS errors. Just press F12, go to the Console tab and check JavaScript errors.</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/report-and-flagging-api-hooks/#post-13039</guid>
                    </item>
				                    <item>
                        <title>RE: Report and Flagging API Hooks?</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/report-and-flagging-api-hooks/#post-13038</link>
                        <pubDate>Mon, 24 Jan 2022 10:04:02 +0000</pubDate>
                        <description><![CDATA[@tetrakern,
The hook will be added in the next version.]]></description>
                        <content:encoded><![CDATA[<p>@tetrakern,</p>
<p>The hook will be added in the next version.  </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/report-and-flagging-api-hooks/#post-13038</guid>
                    </item>
							        </channel>
        </rss>
		