scottconnerly
Member
Posted 2 years ago #
In members_content_permissions_protect( ) please set some sort of global variable or constant that I can check for later in my template files. I'd like to be able to control the reaction to not being able to view the content in a more granular fashion than just rewriting the $content.
There's conditional functions for this in version 0.2 beta. Check it out:
http://justintadlock.com/archives/2011/06/01/members-plugin-beta-testing
members_can_user_view_post()
members_can_current_user_view_post()
scottconnerly
Member
Posted 2 years ago #
Sweet. Looking forward to it. Thanks!