WordPress at a glance
filter is not described

widget_categories_args filter-hook . WP 2.8.0

Filters the arguments for the Categories widget.

Usage

add_filter( 'widget_categories_args', 'filter_function_name_239', 10, 2 );
function filter_function_name_239( $cat_args, $instance ){
	// filter...

	return $cat_args;
}
$cat_args(array)
An array of Categories widget options.
$instance(array)
Array of settings for the current widget.

Notes

  • Since 4.9.0 Added the $instance parameter.

Where the hook is called

WP_Widget_Categories::widget()
wp-includes/widgets/class-wp-widget-categories.php 124
wp_list_categories( apply_filters( 'widget_categories_args', $cat_args, $instance ) );

Where the hook is used (in WP core)

Does not used.