Only show admin bar to administrators

Here a little snippet that will hide the wordpress admin bar from everybody except site admins.
Useful for sites that have public registration turned on.

Instructions
Add this to your functions.php file.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Snippet Info

Tested with Wordpress v. NA
Review Status: Needs Review

Only show admin bar to administrators
4.6 (92.5%) 8 vote[s]
Please report broken snippets.
Report Broken Snippet