Support » Plugin: WP Admin No Show » Plugin access

  • Resolved pedrok



    This plugin seems just what I’m looking for, just one question though:

    Does the plugin still allow for admin access using other plugins? For instance: I’m using the Events Manager plugin which at some point creates a booking for an event using an Ajax call with the current logged in users credentials. A similar plugin was causing this Ajax call to fail based on it being directed to the homepage due to the user being a subscriber. (Trying it logged in as administrator did not yield a failed Ajax call).

    Thanks in advance!


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Scriptrunner (Doug Sparling)


    I believe it will work for you as is. Give it a try and let me know.

    Indeed it does! (Sorry for lazy me not trying it first but I saw you were pretty active on the response..)

    Probably has something to do with you using the ‘admin_head’ hook instead of the ‘init’ hook which was used by the other plugin.

    Cheers for making me not having to script my own solution!


    One other thing, far be it from me to tell you how to do things, but:

    I would include this on the FAQ page since it seems a lot of people are looking to block admin access to subscribers whilst still being able to use the admin functionality from the front-end.


    Plugin Author Scriptrunner (Doug Sparling)


    You are correct, admin-ajax.php does not included admin-header.php, so do(admin_head) is not called.

    Thanks for the suggestion, I’ll be sure and add that to the FAQ next time I do an update. Suggestions for things I never would have thought of – one of the many things I love about the WP community!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin access’ is closed to new replies.