Recent

Popular_Authors_WidgetclassPro only

Legacy Popular Authors widget.

Namespace: WebberZone\Top_Ten\Pro\Popular_Authors
Since: 4.4.0
Source: includes/pro/popular-authors/class-popular-authors-widget.php line 17 Extends: WP_Widget

Methods

__construct()

Set up the widget.

Line: 22

public function __construct(  );

form()

Output the widget settings form.

Line: 40

public function form( $instance );
Type Name Description
array $instance Saved widget settings.

update()

Sanitize widget settings.

Line: 96

public function update( $new_instance, $old_instance ): array;
Type Name Description
array $new_instance New settings.
array $old_instance Existing settings.

Returns: array

widget()

Display the widget.

Line: 118

public function widget( $args, $instance );
Type Name Description
array $args Theme widget arguments.
array $instance Saved widget settings.