• Resolved lyren

    (@lyren)


    Hello,

    Is there a way we could allow a specific custom user role to view protected posts?
    Creating individual orders for each user is not ideal for us. We have many user under this specific custom user role and we can’t create new orders every time new protected post is added. Is there a way to check and give access to a specific custom user role?

    For example maybe we could do something similar??
    if(current_user_can(‘custom-editor’) {
    //Give access to custom-editor role
    }

    Please if you could provide little help.

    regards
    Karen

    • This topic was modified 5 years, 2 months ago by lyren.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Allow specific user role to view protected posts’ is closed to new replies.