Login
Get Started

Easy Digital Downloads Documentation

Documentation, Reference Materials, and Tutorials for Easy Digital Downloads 

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('my-awesome-download'); // retrieve the download post data for slug "my-awesome-download"
// you can now do things like this:
$title = $download->post_title;
Was this article helpful?

Start selling today!

Join over 50,000 smart store owners, and start using the easiest way to sell digital products with WordPress.

Copyright © 2025 Sandhills Development, LLC