a8cteam51 / safety-net

Scrub options, deactivate denylisted plugins, and delete user data on development sites.
20 stars 1 forks source link

Add a filter to hide/disable the admin controls #43

Closed nate-allen closed 1 year ago

nate-allen commented 2 years ago

I can see a scenario where we don't want to show the Safety Net controls in the admin. Or maybe we only want certain admins to be able to access the tools in the admin. The hook could be like safety_net_hide_admin where you could just return true

bernattorras commented 1 year ago

PR #68 merged to trunk. I'm closing this issue.