On this page
apply_filters( 'widget_archives_args', array $args, array $instance )
Filters the arguments for the Archives widget.
Description
See also
Parameters
$argsarray-
An array of Archives option arguments.
$instancearray-
Array of settings for the current widget.
Source
File: wp-includes/widgets/class-wp-widget-archives.php. View all references
apply_filters(
'widget_archives_args',
array(
'type' => 'monthly',
'show_post_count' => $count,
),
$instance
)
Related
Used By
| Used By | Description |
|---|---|
| WP_Widget_Archives::widget() wp-includes/widgets/class-wp-widget-archives.php | Outputs the content for the current Archives widget instance. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_archives_args