• it works but only as stated. Users with custom role that is not admin will be disregarded by the plugin and get normal admin role: all locks are seen but they can edit the page like a normal admin.
    In other words: you can’t differentiate between different admin roles unfortunately, it doesn’t recognize it. Would have been great otherwise!

Viewing 1 replies (of 1 total)
  • Plugin Author andyexeter

    (@andyexeter)

    Hi PetrP,

    The plugin works on capabilities rather than roles. It classes an admin as someone who has the manage_options capability but this can be filtered with the postlockdown_admin_capability filter:

    add_filter('postlockdown_admin_capability', function() {
        return 'some_other_capability';
    });
Viewing 1 replies (of 1 total)
  • The topic ‘ok as it is, nothing extra’ is closed to new replies.