EDD_HTML_Elements::category_dropdown( string $name = 'edd_categories', int $selected )
Renders an HTML Dropdown of all the Categories
Description Description
Parameters Parameters
- $name
-
(Optional) Name attribute of the dropdown
Default value: 'edd_categories'
- $selected
-
(Required) Category to select automatically
Return Return
(string) $output Category dropdown
Source Source
File: includes/class-edd-html-elements.php
Changelog Changelog
Version | Description |
---|---|
1.5.2 | Introduced. |