• Hello! Just a suggestion, but could you add another check for a custom capability? where you have the:

    if(current_user_can('administrator'))

    We definitely make use of custom roles to hide certain areas for our clients, it would be nice to add a cap. to a specific user role, something like access_sb_settings or something like that.

    Pretty please, with some capabilities on top! 😀

    Kind regards,
    Aaron

The topic ‘Add custom capability to view admin settings’ is closed to new replies.