• skinner009

    (@skinner009)


    Hi, this is a weird use case, we are using a Content Control plugin to restrict custom posts to everyone below a certain level, and that includes the post author. What we are trying to do is keep that Control in place, but IF the post author and the logged in user are the same, then disable the Content Controls so they can see their live post. We’d also like it to extend to seeing the author archive, so IF archive username=loggedin username, then disable the Content Control. Of all the plugin managers, you are the closest by incorporating user roles, but we can’t figure out how to sidestep the Control for just the author. Has this come up before for you? Any hints? thanks!

  • The topic ‘Weird use: disable a plugin IF custom post author=loggedin username…’ is closed to new replies.