<?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>
									Request to add filter hooks. - General Discussions				            </title>
            <link>https://wpforo.com/community/general-discussions/request-to-add-filter-hooks/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 09 May 2026 17:15:03 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Request to add filter hooks.</title>
                        <link>https://wpforo.com/community/general-discussions/request-to-add-filter-hooks/#post-40061</link>
                        <pubDate>Fri, 17 Apr 2020 12:16:52 +0000</pubDate>
                        <description><![CDATA[Hi @zmgma,
Thank you for the suggestion. 
We&#039;ll take this into consideration for future updates.]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@zmgma,</span></p>
<p>Thank you for the suggestion. </p>
<p>We'll take this into consideration for future updates. </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/request-to-add-filter-hooks/#post-40061</guid>
                    </item>
				                    <item>
                        <title>Request to add filter hooks.</title>
                        <link>https://wpforo.com/community/general-discussions/request-to-add-filter-hooks/#post-40030</link>
                        <pubDate>Thu, 16 Apr 2020 13:37:34 +0000</pubDate>
                        <description><![CDATA[Hello!
First of all, thank you for your great works! I appreciate it.
I would like to suggest adding filter hooks, and the attached zip file is the patch file for filters.
I tested on my ...]]></description>
                        <content:encoded><![CDATA[<p>Hello!</p>
<p>First of all, thank you for your great works! I appreciate it.</p>
<p>I would like to suggest adding filter hooks, and the attached zip file is the patch file for filters.</p>
<p>I tested on my side several times and it seems works well.</p>
<p>To sum up,</p>
<p>1) order_by.patch : The filter</p>
<blockquote>
<pre>define('ORDER_BY', apply_filters( 'order_by', 'modified' )); </pre>
<p>determines how posts are sorted by 'modified' or 'created'. I changed all parts of 'modified' with ORDER_BY, so it is easy to change the way of sorting.</p>
</blockquote>
<p>2) time_format.patch : The filters</p>
<blockquote>
<pre>apply_filters( 'enable_custom_date', false, $diff )
apply_filters( 'wpforo_custom_date_format', sprintf( wpforo_phrase('%s ago', false, false), $d ), $dt);</pre>
<p>can change the way of time format in forums.</p>
</blockquote>
<p>3) fontawesome_filter.patch: filters with fontawesome icons in topics</p>
<p>4) search_icon.patch: This is not related with filter hook. In this patch, it adds search icon beside page navigation, so it is useful without wpforo menu bar. A lot of forums have search icon beside page-navi, not in top bar or side widget.</p>
<p>5) trivia_style.patch: move inline style to style.css for caching and customizing, and move wpforo_template_pagenavi('wpf-navi-topic-bottom'); for better UI.</p>
<p>Thank you for your supports. I hope you reflect those filters and patch. Thank you again. Have a nice day! :D</p>
<p>Best regards,</p>
<p>Dan</p>
<div id="wpfa-" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1587044254-patch_files.zip" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> patch_files.zip</a></div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>zmgma</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/request-to-add-filter-hooks/#post-40030</guid>
                    </item>
							        </channel>
        </rss>
		