How to hide content from non-paid members with PaidMembership Pro

July 16th, 2014 by
You can hide the content and allow only the paid memberships to view it. (1,3) are the membership level ids
<?php if(pmpro_hasMembershipLevel(array(1,3))) { //only members can see this ?>
content 
<?php } ?>

Post a Comment

You must be logged in to post a comment.

Cached at: 2024-12-22 05:48:55am