Allows you to render the contents of a widget using a PHP callback. The callback should return the \XF\Widget\WidgetRenderer object, set up with the template name and params necessary to render the widget.