wordpress hide admin bar for non admins code example Example: admin bar hide wordpress add_filter('show_admin_bar', '__return_false');