I’m trying to eliminate a huge (monthly subscription) membership plugin. All the features we need are taken care of, other than hiding pages based on permission.
I’m going to do 2 levels of protection, completely block if not allowed, or a redirect to a page about purchasing the permissions needed.
There are just so many hooks in WP, I’m stumped on the best one to use to go check first if the page is locked and then if the user has permissions.
For our use case, we only need to protect pages, but I wonder if there is something else I need to protect and not thinking about it. (ie feed outputs)
If anyone has suggestions for this, I’d be grateful.
Oh also, these pages are supplemental pages, ie, help pages/tutorials on how to use the main system members get to use (which is separate from WP)
[ad_2]