45
43
* Outputs the content for the current Calendar widget instance.
50
47
* @param array $args Display arguments including 'before_title', 'after_title',
51
48
* 'before_widget', and 'after_widget'.
52
49
* @param array $instance The settings for the particular instance of the widget.
54
51
public function widget( $args, $instance ) {
55
54
/** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */
56
$title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );
55
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
58
57
echo $args['before_widget'];