Filter hook 'widget_categories_dropdown_args'

in WP Core File wp-includes/widgets/class-wp-widget-categories.php at line 91

Description

Filters the arguments for the Categories widget drop-down.

Occurrences

Filename Line Number
wp-includes/widgets/class-wp-widget-categories.php 91

Parameters

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

PHP Doc

/**
			 * Filters the arguments for the Categories widget drop-down.
			 *
			 * @since 2.8.0
			 * @since 4.9.0 Added the `$instance` parameter.
			 *
			 * @see wp_dropdown_categories()
			 *
			 * @param array $cat_args An array of Categories widget drop-down arguments.
			 * @param array $instance Array of settings for the current widget.
			 */