wpseek.com
A WordPress-centric search engine for devs and theme authors



dropdown_categories › WordPress Function

Since0.71
Deprecated2.6.0
dropdown_categories ( $default_category = 0, $category_parent = 0, $popular_ids = array() )
Parameters: (3)
  • (int) $default_category Unused.
    Required: No
    Default:
  • (int) $category_parent Unused.
    Required: No
    Default:
  • (array) $popular_ids Unused.
    Required: No
    Default: array()
See:
Defined at:
Codex:

Legacy function used to generate the categories checklist control.



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