Cette fonction peut être utilisée pour récupérer l'objet de publication d'un téléchargement par ID ou par slug.
Exemple :
$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;
