W3cubDocs

/WordPress

apply_filters( ‘wp_dropdown_cats’, string $output, array $parsed_args )

Filters the taxonomy drop-down output.

Parameters

$outputstring
HTML output.
$parsed_argsarray
Arguments used to build the drop-down.

Source

$output = apply_filters( 'wp_dropdown_cats', $output, $parsed_args );

Changelog

Version Description
2.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_dropdown_cats