trustedlogin / Remove-Dashboard-Access

This WordPress plugin limits user access to the dashboard based on whether users have a chosen capability. Disallowed users are redirected to a chosen URL.
https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/
49 stars 12 forks source link

Make the whitelisted page(s) list and/or redirect URL filterable #4

Closed ncd76 closed 7 years ago

ncd76 commented 9 years ago

I'm using a modal login system. Could the redirect page give an option to stay / reload the same page the user is currently on?

Thx

DrewAPicture commented 9 years ago

The next version will have a filter on the whitelisted pages to skip redirecting.

ncd76 commented 9 years ago

Sounds perfect, could that have a wildcard system to eliminate the whole site or folders at once?

DrewAPicture commented 9 years ago

No, that would be up to you to handle in your filter callback.