Show Admin Bar to Administrators Only

With this small snippet you are able to show the Admin Bar to website’s administrators only. No other user will be able to see the Admin Bar after logging in. This snippet is very useful if your site have membership functionality and users can register/login on your website.

Leave a Reply