Shared by Sumit singh · April 23, 2026
add_filter('show_admin_bar', function($show) { return current_user_can('administrator') ? $show : false; });