Disable redirect for users by role
-
This might be a niche use case, but I’m trying to figure out how I can circumvent the PLT redirect if, for example, current_user_can(‘edit_posts’).
In my scenario, we’re linking off to other content, but still have a need to see what’s on the redirected page. I’d like for the URL redirect to still be set, and still show when editing a post (so disabling the plugin isn’t what I want) but when someone who can edit posts goes directly to the permalink, they see the non-redirected page. Is there an easy way to handle this?
- The topic ‘Disable redirect for users by role’ is closed to new replies.