edd_get_download( int $download_id )
Retrieves a download post object by ID or slug.
Description Description
Parameters Parameters
- $download_id
-
(Required) Download ID.
Return Return
(EDD_Download) $download Entire download data.
Source Source
File: includes/download-functions.php
Changelog Changelog
Version | Description |
---|---|
2.9 | - Return an EDD_Download object. |
1.0 | Introduced. |