View Product Page

Membership Protected Files shortcode

This shortcode allows you to handle displaying links within a specific page, post or product in your website.
Its goal is to display the files only to users who own a specific membership plan.
Enable the Membership Protected Files from the Membership options metabox in the edit page of any post, page or product of your website.
Paste a link or load a file right from this page and choose the membership plan it will be visible to.

Protected files

Now you can enter the[membership_protected_links] shortcode within the content and users will be automatically displayed the links related to the membership plan they own.

Protected files


Shortcode attributes

  • post_id: the ID of the post, the page or the product that contains the protected links. If not set, it uses global post ID
  • link_class: The CSS class of download links