edd_discounts_shortcode( array $atts, string $content = null )

Discounts shortcode


Description Description

Displays a list of all the active discounts. The active discounts can be configured from the Discount Codes admin screen.


Parameters Parameters

$atts

(Required) Shortcode attributes

$content

(Optional)

Default value: null


Top ↑

Return Return

(string) $discounts_lists List of all the active discount codes


Top ↑

Source Source

File: includes/shortcodes.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.8.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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