WordPress at a glance
filter is not described

widget_archives_dropdown_args filter-hook . WP 2.8.0

Filters the arguments for the Archives widget drop-down.

Usage

add_filter( 'widget_archives_dropdown_args', 'filter_function_name_4719', 10, 2 );
function filter_function_name_4719( $args, $instance ){
	// filter...

	return $args;
}
$args(array)
An array of Archives widget drop-down arguments.
$instance(array)
Settings for the current Archives widget instance.

Changelog

Since 2.8.0 Introduced.
Since 4.9.0 Added the $instance parameter.

Where the hook is called

WP_Widget_Archives::widget()
widget_archives_dropdown_args
render_block_core_archives()
widget_archives_dropdown_args
wp-includes/widgets/class-wp-widget-archives.php 74-82
$dropdown_args = apply_filters(
	'widget_archives_dropdown_args',
	array(
		'type'            => 'monthly',
		'format'          => 'option',
		'show_post_count' => $c,
	),
	$instance
);
wp-includes/blocks/archives.php 38-45
$dropdown_args = apply_filters(
	'widget_archives_dropdown_args',
	array(
		'type'            => 'monthly',
		'format'          => 'option',
		'show_post_count' => $show_post_count,
	)
);

Where the hook is used (in WP core)

Usage not found!