Warning: This function has been deprecated. Use wp_category_checklist() instead.

dropdown_categories( int $default, int $parent, array $popular_ids = array() )

Legacy function used to generate the categories checklist control.

Description Description

See also See also

Top ↑

Parameters Parameters


(int) (Required) Unused.


(int) (Required) Unused.


(array) (Optional) Unused.

Default value: array()

Top ↑

Source Source

File: wp-admin/includes/deprecated.php

function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) {
	_deprecated_function( __FUNCTION__, '2.6.0', 'wp_category_checklist()' );
	global $post_ID;
	wp_category_checklist( $post_ID );

Top ↑

Changelog Changelog

Version Description
2.6.0 Use wp_category_checklist()
0.71 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.