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.
https://wordpress.org/plugins/view-admin-as/
GNU General Public License v2.0
45 stars 4 forks source link

Automatic JS handling for simple options #60

Closed JoryHogeveen closed 7 years ago

JoryHogeveen commented 7 years ago

Set the JS handling from the PHP side of the code to make the JS file size smaller. No need for all that duplicate code.