Reply To: Different protection for different levels?

Forums General Different protection for different levels? Reply To: Different protection for different levels?

Carole Asselin

Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /nfs/c09/h02/mnt/138233/domains/ on line 4777

So, i got this shortcode first to account for the local storage:

[s2File download="Webinars/" storage="local" count_against_user="no"]

Then, since i needed that in html format (for a link) i found this code while digging deeper in the documentation:

<a href="<?php echo s2member_file_download_url(array("file_download" => "Webinars/", "file_storage" => "local", "skip_confirmation" => true)); ?>"><img class="alignnone" src="" alt="" width="128" height="175" align="middle" border="0" /></a>

(i hope this code will display, instead of trying to show the image)

But now, this is a code for everyone, yet, if you and Krum suggest using a conditional for both levels (so the confirmation is skipped for level1 and stays for level 2), how would the code look like? It looks like it will get very convoluted!