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


Top ↑

Return Return

(string) $output Category dropdown


Top ↑

Source Source

File: includes/class-edd-html-elements.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.