WordPress by default provide admin bar at the top of the page for logged in users.

By using wordpress filtering and hook system, we can disable the admin bar from wordpress site for logged in user. Here is the snippet which will disable admin bar from wordpress site.


add_filter(‘show_admin_bar’, ‘__return_false’);


Add this filter into your theme’s funtions.php file