WordPress Disable admin bar access to all users

If you want to disable access to admin bar for all the users including the administrator, add the following to the functions file.

show_admin_bar(false);

Leave a comment

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

%d bloggers like this: