dropdown_categories( int $default_category, int $category_parent, array $popular_ids = array() )

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

Legacy function used to generate the categories checklist control.

Description

See also

Parameters

$default_categoryintrequired
Unused.
$category_parentintrequired
Unused.
$popular_idsarrayoptional
Unused.

Default:array()

Source

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 );
}

Changelog

VersionDescription
2.6.0Use wp_category_checklist()
0.71Introduced.

User Contributed Notes

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