• Hi Waseem,

    In the next version, could you please add a setting to disable the admin bar for the users created by the plugin?

    This code hides the bar for all users, on all themes:

    <?php
    add_action('admin_print_scripts-profile.php', 'caa_hide_admin_bar');
    function caa_hide_admin_bar() { ?>
    <style type="text/css">
    	.show-admin-bar {display: none;}
    </style>
    <?php
    }
    add_filter('show_admin_bar', '__return_false');
    ?>

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Admin Toolbar Setting’ is closed to new replies.