<?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>
									Access WPF() in new PHP file - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/access-wpf-in-new-php-file/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 14 Sep 2026 11:23:05 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Access WPF() in new PHP file</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/access-wpf-in-new-php-file/#post-49818</link>
                        <pubDate>Sun, 17 Jan 2021 07:07:43 +0000</pubDate>
                        <description><![CDATA[Hi @jospehmoseph,
What PHP file is that? Is it a plugin PHP file? What WordPress hook uses your plugin to connect?]]></description>
                        <content:encoded><![CDATA[<p>Hi @jospehmoseph,</p>
<p>What PHP file is that? Is it a plugin PHP file? What WordPress hook uses your plugin to connect?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/access-wpf-in-new-php-file/#post-49818</guid>
                    </item>
				                    <item>
                        <title>Access WPF() in new PHP file</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/access-wpf-in-new-php-file/#post-49813</link>
                        <pubDate>Sun, 17 Jan 2021 00:48:59 +0000</pubDate>
                        <description><![CDATA[Hi all,
I am trying to access WPF() in a new PHP file inside below folder. I am getting Call to undefined function WPF()
\wp-content\plugins\wpforo\wpf-includes
 
$topic = array(&#039;userid&#039;...]]></description>
                        <content:encoded><![CDATA[<p>Hi all,</p>
<p>I am trying to access WPF() in a new PHP file inside below folder. I am getting <strong>Call to undefined function WPF()</strong></p>
<p>\wp-content\plugins\wpforo\wpf-includes</p>
<p> </p>
<p>$topic = array(<br />'userid' =&gt; $USERID,<br />'title' =&gt; $title,<br />'body' =&gt; $body,<br />'forumid' =&gt; $forumid,<br />'views' =&gt; $views,<br />'type' =&gt; $type ,<br />'created' =&gt; $created<br />);<br />WPF()-&gt;topic-&gt;add($topic);</p>
<p> </p>
<p>Can somebody please help me with this? </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>JospehMoseph</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/access-wpf-in-new-php-file/#post-49813</guid>
                    </item>
							        </channel>
        </rss>
		