wp_dropdown_cats
wp_dropdown_cats ( $current_cat = 0, $current_parent = 0, $category_parent = 0, $level = 0, $categories = 0 )
Parameters:- (int) current_cat Optional. ID of the current category. Default 0.
- (int) current_parent Optional. Current parent category ID. Default 0.
- (int) category_parent Optional. Parent ID to retrieve categories for. Default 0.
- (int) level Optional. Number of levels deep to display. Default 0.
- (array) categories Optional. Categories to include in the control. Default 0.
See:Returns:- (void|false) Void on success, false if no categories were found.
Defined at: - Introduced in WordPress: 1.2.0
- Deprecated in WordPress: 3.0.0
Description
Legacy function used for generating a categories drop-down control.