A WordPress-centric search engine for devs and theme authors



dropdown_categories ›

Since0.71
Deprecated2.6.0
dropdown_categories ( $default = 0, $parent = 0, $popular_ids = array() )
Parameters: (3)
  • (int) $default Unused.
    Required: No
    Default:
  • (int) $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 = 0, $parent = 0, $popular_ids = array() ) {
	_deprecated_function( __FUNCTION__, '2.6.0', 'wp_category_checklist()' );
	global $post_ID;
	wp_category_checklist( $post_ID );
}