How can i allow users to directly download( no checkout page ) the files that are free in Easy Digital Downloads Plugin? I want something like this :
<?php
if( edd_get_download_price( get_the_ID() ) == 0 ) {
$download_link = DIRECT_DOWNLOAD_URL;
?>
<a href="<?php echo $download_link; ?>" class="download-button">Download Now!</a>
<?php } ?>
Please help , i really need this , thanks
Thank you guys for your help , I found this Plugin : https://wordpress.org/plugins/easy-digital-downloads-free-download/ It's great!!