What determines whether admin toolbar is shown to a logged-in user?

Question

By default, WordPress shows admin toolbar to Administrator, Editor, or Author but not to Subscriber or unauthenticated visitors.

What determines whether admin toolbar is shown a logged-in user? I am wondering if it works based on Role, a specific Capability, or something else. I tried to dig in WordPress core source code to find out but I could not get any clue.

0
, , , ronnefeldt 1 year 2020-07-21T22:10:35-05:00 0 Answers 62 views 0

Leave an answer

Browse
Browse