the_widget


the_widget ( $widget, $instance = array(), $args = array() )

Parameters:
  • (string) $widget The widget's PHP class name (see class-wp-widget.php).
  • (array) $instance Optional. The widget's instance settings. Default empty array.
  • (array) $args { Optional. Array of arguments to configure the display of the widget.
Defined at:

Description

Output an arbitrary widget as a template tag.

Related Functions

the_id, is_active_widget, retrieve_widgets, the_guid, the_date

Top Google Results

User discussions

wpseek mobile