apply_filters( ‘widget_categories_dropdown_args’, array $cat_args, array $instance )

Filters the arguments for the Categories widget drop-down.

Description

See also

Parameters

$cat_argsarray
An array of Categories widget drop-down arguments.
$instancearray
Array of settings for the current widget.

Source

wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args, $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.