If you are using template files in your theme and you have restricted a page with the Content Restriction addon settings, then you may want to restrict other parts of the template, not just the main page content.
You can do this using the function ‘wpum_can_access_restricted_content()’ in version 1.3.4 of the addon.
For example, this is a simplified version of a page template:
Get Started with the Best WordPress Membership Plugin Today
Connect, Manage and Build your Membership Site