apply_filters( 'widget_categories_dropdown_args', array $cat_args, array $instance )

Filters the arguments for the Categories widget drop-down.


Description

Top ↑

See also


Top ↑

Parameters

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

Top ↑

Source

File: wp-includes/widgets/class-wp-widget-categories.php. View all references

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