apply_filters( 'widget_archives_args', array $args, array $instance )

Filters the arguments for the Archives widget.


Description

Top ↑

See also


Top ↑

Parameters

$args array
An array of Archives option arguments.
$instance array
Array of settings for the current widget.

Top ↑

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
)


Top ↑

Changelog

Changelog
Version Description
4.9.0 Added the $instance parameter.
2.8.0 Introduced.

Top ↑

User Contributed Notes

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