I'm new to WordPress. I would like to know

  • Is the admin bar visible to all users and roles?
  • If not, how can I check it is visible to the current user?

Just use is_admin_bar_showing() to check if the currently logged in user is

  1. logged in
  2. has activated the admin bar in his user settings/preferences
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.