Viewing 1 replies (of 1 total)
  • It isn’t possible without PHP. You should unhook actions which adds admin bar. An example:

    add_action( 'init', function() {
            if ( ! current_user_can( 'manage_options' ) ) {
                    remove_action( 'admin_init', 'admin_bar_delete_page' );
                    remove_action( 'admin_bar_menu', 'wpsc_admin_bar_render', 99 );
            }
    }, 9 );
    

    I didn’t check code, but it should work. You can replace manage_options with other capability.

Viewing 1 replies (of 1 total)

The topic ‘EDITORS can delete cache!?’ is closed to new replies.