Displaying a widget included with XenForo 2 is one line using
The identifier is the Widget key...
templater()
and renderWidget
.
PHP:
echo \XF::app()->templater()->renderWidget('forum_overview_members_online');
The identifier is the Widget key...
You do not have permission to view the full content of this resource.
Log in or register now.