• Resolved olhadorokhova

    (@olhadorokhova)


    Hi,

    we were using your plugin to simply hide the content for non-logged users. No premium subscription is needed, the user just should log in to view the content. To have the plugin ignore all logged-in users we were using the filter called “leaky_paywall_current_user_can_view_all_content” from the article you’ve provided: https://zeen101.com/documentation/how-to-tell-leaky-paywall-to-ignore-editors-and-other-user-roles/. The capability we were set was ‘read’. And it worked as expected.

    But recently we’ve faced the bug when on random posts this filter was ignored and the user was unable to see the content. I’m not sure what the changes were done in recent version but this might be the cause. Unfortunately, and we are unable to make a rollback to the old version of the plugin due to this error: screenshot.

    Could you please take a look into this issue?
    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filter to ignore some User Roles is doesn’t work’ is closed to new replies.