dropdown_categories()WP 0.71

Deprecated from version 2.6.0. It is no longer supported and can be removed in future releases. Use wp_category_checklist() instead.

Legacy function used to generate the categories checklist control.

No Hooks.

Return

null. Nothing (null).

Usage

dropdown_categories( $default_category, $category_parent, $popular_ids );
$default_category(int)
Unused.
$category_parent(int)
Unused.
$popular_ids(array)
Unused.
Default: array()

Notes

Changelog

Since 0.71 Introduced.
Deprecated since 2.6.0 Use wp_category_checklist()

dropdown_categories() code WP 6.5.2

function dropdown_categories( $default_category = 0, $category_parent = 0, $popular_ids = array() ) {
	_deprecated_function( __FUNCTION__, '2.6.0', 'wp_category_checklist()' );
	global $post_ID;
	wp_category_checklist( $post_ID );
}