# Disable the Admin Bar for Everyone

> Hides the front-end admin bar for all users, including administrators. The admin area is not affected.

- Type: PHP
- Runs: Run everywhere
- Category: [Disable Features](https://wpide.com/library/category/disable-features/)
- Tags: admin-bar, toolbar, disable
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/disable-admin-bar-for-everyone/

## Code

```php
add_filter( 'show_admin_bar', '__return_false' );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Disable the Admin Bar for Everyone" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
