edd_download_shortcode_item( array $atts, int $i )
Load a template file for a single download item.
Description Description
This is a wrapper function for backwards compatibility so the shortcode’s attributes can be passed to the template file via a global variable.
Parameters Parameters
- $atts
-
(Required) The [downloads] shortcode attributes.
- $i
-
(Required) The current item count.
Source Source
File: includes/template-functions.php
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |