• Resolved Erfan MHDi

    (@erfanmhd)


    hi,

    i’m trying to put some code in my own custom download template php file.

    <?php if ( $download->is_members_only() ) : ?>
    Download is Premium
    <?php else: ?>
    Download is Free
    <?php endif; ?>

    but it’s not working for me, it’s look like the code is missing something, i think i have to define $download in my custom download template file .

    can you please give me a hint ?

    https://www.ads-software.com/plugins/download-monitor/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘is member only conditional tag’ is closed to new replies.