WordPress at a glance
filter is not described

list_cats filter-hook . WP 1.2.0

Filters a taxonomy drop-down display element.

A variety of taxonomy drop-down display elements can be modified just prior to display via this filter. Filterable arguments include 'show_option_none', 'show_option_all', and various forms of the term name.


add_filter( 'list_cats', 'filter_function_name_5908', 10, 2 );
function filter_function_name_5908( $element, $category ){
	// filter...

	return $element;
Category name.
The category object, or null if there's no corresponding category.

Where the hook is called

wp-includes/category-template.php 401
$show_option_none = apply_filters( 'list_cats', $r['show_option_none'], null );
wp-includes/class-walker-category-dropdown.php 58
$cat_name = apply_filters( 'list_cats', $category->name, $category );
wp-includes/class-walker-category.php 95-99
$cat_name = apply_filters(
	esc_attr( $category->name ),
wp-includes/category-template.php 410
$show_option_all = apply_filters( 'list_cats', $r['show_option_all'], null );
wp-includes/category-template.php 418
$show_option_none = apply_filters( 'list_cats', $r['show_option_none'], null );

Where the hook is used (in WP core)

wp-includes/default-filters.php 187
add_filter( 'list_cats', 'wptexturize' );