wp_dropdown_cats


wp_dropdown_cats ( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 )

Parameters:
  • (int) $currentcat Optional. ID of the current category. Default 0.
  • (int) $currentparent Optional. Current parent category ID. Default 0.
  • (int) $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:
  • (bool|null) 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