Reply To: Different protection for different levels?
› Forums › General › Different protection for different levels? › Reply To: Different protection for different levels?
2016-04-04 at 11:12
#709
Participant
Try this:
<a href="<?php echo (current_user_is("s2member_level2"))?s2member_file_download_url(array("file_download" => "Webinars/InTheNewsWithPSP.zip", "file_storage" => "local")):s2member_file_download_url(array("file_download" => "Webinars/InTheNewsWithPSP.zip", "file_storage" => "local", "skip_confirmation" => true)); ?>"><img class="alignnone" src="http://scrapbookcampus.com/Images/handout1.jpg" alt="" width="128" height="175" align="middle" border="0" /></a>