Hide Admin Bar From Front End 1.0.0

Does Hide Admin Bar From Front End work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .


2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors

Memory usage: -2.97 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/hide-admin-bar-from-front-end/

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=hide-admin-bar-from-front-end%2Fhide-admin-bar-from-front-end.php&plugin_status=all&paged=1&s&_wpnonce=c887933bc6
Aspect after-activation
HTTP status 200
Load time 0.254 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Settings → Hide/Show Admin Bar

Page screenshot: Settings → Hide/Show Admin Bar
URL /wp-admin/options-general.php?page=hide_admin_bar_from_front_end
Aspect menu-item
HTTP status 200
Load time 0.144 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
Aspect front-page
HTTP status 200
Load time 0.267 s
Memory usage 3.55 MiB
JS errors None
Resource errors None


URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.275 s-0.088 s3.72 MiB3.72 MiB+ 3.09 KiB
/wp-admin/edit.php0.189 s0.192 s+0.003 s3.75 MiB3.76 MiB+ 3.09 KiB
/wp-admin/post-new.php1.024 s1.224 s+0.200 s5.54 MiB5.56 MiB+ 11.45 KiB
/wp-admin/upload.php0.457 s0.385 s-0.072 s3.68 MiB3.69 MiB+ 1.91 KiB
/wp-admin/options-writing.php0.158 s0.152 s-0.006 s3.62 MiB3.6 MiB- 18.19 KiB
/wp-admin/media-new.php0.378 s0.208 s-0.170 s3.66 MiB3.66 MiB+ 2.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.257 s0.197 s-0.060 s3.69 MiB3.69 MiB+ 2.98 KiB
/wp-admin/post-new.php?post_type=page1.416 s0.946 s-0.470 s5.55 MiB5.54 MiB- 5.38 KiB
/wp-admin/options-discussion.php0.211 s0.325 s+0.114 s3.6 MiB3.6 MiB+ 2.45 KiB
/wp-admin/edit-comments.php0.215 s0.324 s+0.109 s3.69 MiB3.7 MiB+ 1.95 KiB
/0.303 s0.215 s-0.088 s3.59 MiB3.55 MiB- 38.06 KiB
Average 0.452 s0.404 s-0.048 s4.01 MiB4.01 MiB- 2.97 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

Language % Lines of code Comment lines Files
Total 64 15 2

PHP Code Analysis | More results »

Lines of code 15
Total complexity 2
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function hsabffe_options_menu()
Classes 0
Methods 0
Functions 2


Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log 2 lines

[15-Jul-2022 11:57:30 UTC] PHP Notice:  Undefined index: add_opt_submit in /wp-content/plugins/hide-admin-bar-from-front-end/includes/hide_admin_bar_from_front_end.php on line 8
[15-Jul-2022 11:57:30 UTC] PHP Notice:  Undefined variable: message in /wp-content/plugins/hide-admin-bar-from-front-end/includes/hide_admin_bar_from_front_end.php on line 27
See also: All tests for this plugin, How to Hide the "Hide/Show Admin Bar" Admin Menu