WPDev.one
Core Class

WP_Widget_Archives

class WP_Widget_Archives // Constructor: function Object() { [native code] }

Core class used to implement the Archives widget.

Methods 4 methods

Method / Return Description
__construct()
void

Sets up a new Archives widget instance.

widget()
void

Outputs the content for the current Archives widget instance.

Parameters: $args: mixed, $instance: mixed
update()
array

Handles updating settings for the current Archives widget instance.

Parameters: $new_instance: mixed, $old_instance: mixed
form()
void

Outputs the settings form for the Archives widget.

Parameters: $instance: mixed

Class Information

Since Version
2.8.0
Source File
wp-includes/widgets/class-wp-widget-archives.php
Advertisement