February 19, 2016 at 3:05 am
#24781
Joseph Jordan
Participant
I was wrong – I just noticed that “current_user_can” is a function of WordPress, not of User Role Editor.
Hopefully that will explain what I need though –
Basically I need a check of “IF “current user can” -> “view posts as defined by the role permission of each post” THEN “View hkb-content-article” ELSE “hide the post”.