Support » Plugin: Advanced Custom Fields Viewer » Restrict plug-in resource loading to Admins?

  • Hello, first of all, thank you for creating this plug-in!
    It has helped me tremendously in my adventures with AFC.

    One thing that I’ve noticed is that the plugin’s css and js still load even if the user is logged out. Ideally, it would be cleaner to only load those files when an Admin or “can edit” role is logged-in. Although simply deactivating the plugin fixes this, but I figured it might make for a nice update, especially for those who might forget to deactivate it on a live/production site.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Restrict plug-in resource loading to Admins?’ is closed to new replies.