WP_Widget::widget

SummerySummery

Echoes the widget content.

Syntax

WP_Widget::widget( array $args, array $instance )

DescriptionDescription

Subclasses should override this function to generate their widget code.

ParametersParameters

$args

(array) (Required) Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'.

$instance

(array) (Required) The settings for the particular instance of the widget.

SourceSource

File: wp-includes/class-wp-widget.php


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top