<?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>
									Cannot redeclare my_custom_email_html_tags? - How-to and Troubleshooting				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/cannot-redeclare-my_custom_email_html_tags/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 14 Mar 2026 12:38:45 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Cannot redeclare my_custom_email_html_tags?</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/cannot-redeclare-my_custom_email_html_tags/#post-124188</link>
                        <pubDate>Fri, 28 Mar 2025 12:20:35 +0000</pubDate>
                        <description><![CDATA[Hi,The error indicates that the function is declared twice. Please check your code, locate the duplicate declaration, and remove it.]]></description>
                        <content:encoded><![CDATA[<p>Hi,<br /><br />The error indicates that the function is declared twice. Please check your code, locate the duplicate declaration, and remove it.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/cannot-redeclare-my_custom_email_html_tags/#post-124188</guid>
                    </item>
				                    <item>
                        <title>Cannot redeclare my_custom_email_html_tags?</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/cannot-redeclare-my_custom_email_html_tags/#post-124179</link>
                        <pubDate>Fri, 28 Mar 2025 09:01:42 +0000</pubDate>
                        <description><![CDATA[Cannot redeclare my_custom_email_html_tags() (previously declared in /var/www/html/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-snippet-execute.php(419) : eval()&#039;d cod...]]></description>
                        <content:encoded><![CDATA[<pre class="wpcode-error-preview" contenteditable="false">Cannot redeclare my_custom_email_html_tags() (previously declared in /var/www/html/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-snippet-execute.php(419) : eval()'d code:150)</pre>
<p>I recently got this after updating to the latest wpforo. I have a wpcode snippet that does this:<br /><br />function my_custom_email_html_tags( $allowed_html ){<br />if( $allowed_post_html = wp_kses_allowed_html( 'post' ) ){<br />$allowed_html = $allowed_post_html;<br />}<br />return $allowed_html;<br />}<br />add_filter( 'wpforo_kses_allowed_html_email', 'my_custom_email_html_tags');<br /><br />So it allows for custom css/html I believe. Did something change in the recent release that caused this behaviour?</p>
<p> </p>
<p>Thank you for any tips!</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Atvvta</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/cannot-redeclare-my_custom_email_html_tags/#post-124179</guid>
                    </item>
							        </channel>
        </rss>
		