Hi again
Thanks for your reply. I tried this for contributors and wrote the code like this:
add_action(‘wp_head’, my_hide_admin_menu_bar);
function my_hide_admin_menu_bar() {
if (current_user_can(‘contributor’)) {
show_admin_bar(false);
}
}
It won’t work. Did I get the code right?