Summery Summery
Handles updating settings for the current Archives widget instance.
Syntax Syntax
Parameters Parameters
- $new_instance
-
(Required) New settings for this instance as input by the user via WP_Widget_Archives::form().
- $old_instance
-
(Required) Old settings for this instance.
Return Return
(array) Updated settings to save.
Source Source
File: wp-includes/widgets/class-wp-widget-archives.php
if ( 'html5' === $format ) {
echo '</nav>';
}
}
echo $args['after_widget'];
}
/**
* Handles updating settings for the current Archives widget instance.
*
* @since 2.8.0
*
* @param array $new_instance New settings for this instance as input by the user via
* WP_Widget_Archives::form().
* @param array $old_instance Old settings for this instance.
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |