Recent

Search_Heatmapclass

Search_Heatmap

Create a WordPress Widget for Popular search terms.

Namespace: WebberZone\Better_Search\Frontend\Widgets
Since: 3.3.0
Source: includes/frontend/widgets/class-search-heatmap.php line 21 Extends: WP_Widget

Methods

__construct()

Register widget with WordPress.

Line: 26

public function __construct(  );

form()

Back-end widget form.

Line: 48

public function form( $instance );
Type Name Description
array $instance Previously saved values from database.

update()

Sanitize widget form values as they are saved.

Line: 95

public function update( $new_instance, $old_instance ): array;
Type Name Description
array $new_instance New settings for this instance as input by the user via
array $old_instance Old settings for this instance.

Returns: array — Settings to save.

widget()

Front-end display of widget.

Line: 121

public function widget( $args, $instance );
Type Name Description
array $args Display arguments including ‘before_title’, ‘after_title’,
array $instance The settings for the particular instance of the widget.