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

apply_filters(
	'widget_archives_args',
	array(
		'type'            => 'monthly',
		'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.