Function: dropdown_categories

dropdown_categories( integer $default, integer $parent, array $popular_ids )

Legacy function used to generate the categories checklist control.

Shortcut: dc

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$default integer


$parent integer


$popular_ids array array()


WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.