# edd_get_download()

 This function can be used to retrieve the post object for a download by either ID or slug.

 Example:

```
$download = edd_get_download(34); // retrieve the download post data for ID 34 
$download = edd_get_download(&#039;my-awesome-download&#039;); // retrieve the download post data for slug &quot;my-awesome-download&quot;
// you can now do things like this:
$title = $download-&gt;post_title;
```