Summery Summery
Outputs the settings form for the Archives widget.
Syntax Syntax
Parameters Parameters
- $instance
-
(Required) Current settings.
Source Source
File: wp-includes/widgets/class-wp-widget-archives.php
'count' => 0, 'dropdown' => '', ) ); $instance['title'] = sanitize_text_field( $new_instance['title'] ); $instance['count'] = $new_instance['count'] ? 1 : 0; $instance['dropdown'] = $new_instance['dropdown'] ? 1 : 0; return $instance; } /** * Outputs the settings form for the Archives widget. * * @since 2.8.0 * * @param array $instance Current settings. */
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |