JoryHogeveen / view-admin-as

View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.

Home Page:https://wordpress.org/plugins/view-admin-as/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Action & Filter name consistency

JoryHogeveen opened this issue · comments

Check use of action/filter prefixes

  • view_admin_as everywhere for global filters
  • vaa_view_admin_as everywhere for global actions
  • vaa_admin_bar Toolbar related actions & filters
  • _view_admin_as for internal filters not to be used outside of the plugin
  • _vaa_view_admin_as for internal actions not to be used outside of the plugin

Leaving this open as a reminder :)