Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Jan 17, 2021 12:48 am
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(
'userid' => $USERID,
'title' => $title,
'body' => $body,
'forumid' => $forumid,
'views' => $views,
'type' => $type ,
'created' => $created
);
WPF()->topic->add($topic);
Can somebody please help me with this?
1 Reply
Jan 17, 2021 7:07 am
Hi @jospehmoseph,
What PHP file is that? Is it a plugin PHP file? What WordPress hook uses your plugin to connect?