How to modify defaults_download.php so all listing use paid download

  • David
    Newbie 13 points
    October 10, 2015 at 4:28 pm

    I need to modify this file so that all listings use this method. I know there is an option in settings to set this as the default but this ONLY works if you are submitting listings from the front end and I am not doing this (I am populating them using gravity forms)

    this is the code I think I need to modify

    $download_ops = get_post_meta($post->ID,’download_ops’,true);
    if(!is_array($download_ops)){ $download_ops = array(); }

  • Michael
    Elite Member 427 points
    October 10, 2015 at 4:48 pm

    An alternative solutoin might be to use this plugin but it has its own payment mechanism:

    Paid Downloads Pro

Viewing 2 posts - 1 through 2 (of 2 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes