WP_Widget::widget() – Echoes the widget content.
You appear to be a bot. Output may be restricted
Description
Echoes the widget content.
Subclasses should override this function to generate their widget code.
Usage
WP_Widget::widget( $args, $instance );
Parameters
- $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.
Returns
void
Source
File name: wordpress/wp-includes/class-wp-widget.php
Lines:
1 to 3 of 3
public function widget( $args, $instance ) { die( 'function WP_Widget::widget() must be overridden in a subclass.' ); }