Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WP User Manager - Content Restriction function to restrict parts of a templat
if ( wpum_can_access_restricted_content() ) : ?>
Some extra content in the template that is restricted as per the restriction settings of the page
<?php endif; ?>
<?php the_content(); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment