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:

Description

Legacy function used for generating a categories drop-down control.

Related Functions

dropdown_cats, wp_dropdown_pages, wp_dropdown_categories, wp_dropdown_roles, wp_dropdown_users

Top Google Results

User discussions

wpseek mobile