Filters the arguments for the Categories widget.
$cat_argsarray
$instancearray
This filter is used by the default “WordPress Widget: Categories” before it passes arguments to the wp_list_categories() function.
wp_list_categories( apply_filters( 'widget_categories_args', $cat_args, $instance ) );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_categories_args