Viewing 1 replies (of 1 total)
  • Plugin Contributor Barry Kooij

    (@barrykooij)

    Hey,

    You can when you’ve got the $download variable (which you do in above example.

    You can simply do:

    if ( $download->is_members_only() ) {
    	// members only
    } else {
    	// not members only
    }

    Kind Regards,

    Barry Kooij

Viewing 1 replies (of 1 total)
  • The topic ‘Checking whether a download is "members-only"’ is closed to new replies.