wp_dropdown_cats WordPress Filter Hook

The wp_dropdown_cats hook is used to create a category drop-down list for a post. This hook is used in the admin interface when editing a post.

apply_filters( 'wp_dropdown_cats', string $output, array $parsed_args ) #

Filters the taxonomy drop-down output.


Parameters

$output

(string)HTML output.

$parsed_args

(array)Arguments used to build the drop-down.


Top ↑

Source

File: wp-includes/category-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.