## Widgets Component: Helper Functions

The following helper functions are available for the widgets component.

<ul class="infinity-docs-menu"></ul>

### infinity\_widget

Render a widget's HTML.

	(mixed) infinity_widget( string $widget_name, boolean $output = true )

> _$widget\_name_ : Name of widget as configured in widgets.ini  
> _$output_ : Whether to display (echo) the output or return it as a string