apply_filters( ‘widget_archives_dropdown_args’, array $args, array $instance )

Filters the arguments for the Archives widget drop-down.

Description

See also

Parameters

$argsarray
An array of Archives widget drop-down arguments.
$instancearray
Settings for the current Archives widget instance.

Source

$dropdown_args = apply_filters(
	'widget_archives_dropdown_args',
	array(
		'type'            => 'monthly',
		'format'          => 'option',
		'show_post_count' => $count,
	),
	$instance
);

Changelog

VersionDescription
4.9.0Added the $instance parameter.
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.