EDD_HTML_Elements::discount_dropdown( string $name = 'edd_discounts', int $selected, string $status = '' )

Renders an HTML Dropdown of all the Discounts


Description Description


Parameters Parameters

$name

(Optional) Name attribute of the dropdown

Default value: 'edd_discounts'

$selected

(Required) Discount to select automatically

$status

(Optional) Discount post_status to retrieve

Default value: ''


Top ↑

Return Return

(string) $output Discount 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.