Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Field Visibility #70

Open
celsowhite opened this issue May 28, 2019 · 0 comments
Open

Custom Field Visibility #70

celsowhite opened this issue May 28, 2019 · 0 comments

Comments

@celsowhite
Copy link

Hi, thanks for the work on this plugin.

Issue

We were originally following the instructions/code from this article to hide/show post content to subscribers. Specifically, post content that was made up primarily of custom fields.

The code in that article appears to be buggy/not work consistently. The main issue I encounter is the cookie can't always be found and it doesn't feel as robust as the plugins internal subscriber_can_view check.

Recommendation

Update the article so users know there is a public subscriber_can_view function that can be accessed in a theme to check if a user has access to an article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant