Hide Admin Bar From Front End 1.0.0

Does Hide Admin Bar From Front End work with WordPress 5.8.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.92 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 version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,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=577f0cc491
Aspect after-activation
HTTP status 200
Load time 0.245 s
Memory usage 3.04 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.176 s
Memory usage 3.03 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.290 s
Memory usage 2.91 MiB
JS errors None
Resource errors None


URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.290 s0.256 s-0.034 s3.08 MiB3.09 MiB+ 3.09 KiB
/wp-admin/edit.php0.158 s0.196 s+0.038 s3.11 MiB3.12 MiB+ 3.09 KiB
/wp-admin/post-new.php0.863 s0.993 s+0.130 s5.27 MiB5.27 MiB+ 7.45 KiB
/wp-admin/upload.php0.506 s0.282 s-0.224 s3.03 MiB3.03 MiB+ 1.96 KiB
/wp-admin/options-writing.php0.161 s0.126 s-0.035 s3.02 MiB3.01 MiB- 14.06 KiB
/wp-admin/media-new.php0.288 s0.164 s-0.124 s3.01 MiB3.01 MiB+ 2.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.177 s-0.009 s3.04 MiB3.04 MiB+ 3.04 KiB
/wp-admin/post-new.php?post_type=page1.077 s0.699 s-0.378 s5.26 MiB5.26 MiB+ 3.04 KiB
/wp-admin/options-discussion.php0.235 s0.293 s+0.058 s3 MiB3.01 MiB+ 2.45 KiB
/wp-admin/edit-comments.php0.195 s0.200 s+0.005 s3.04 MiB3.04 MiB+ 1.95 KiB
/0.306 s0.209 s-0.097 s2.96 MiB2.91 MiB- 46.3 KiB
Average 0.388 s0.327 s-0.061 s3.44 MiB3.44 MiB- 2.92 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

[10-Sep-2021 16:07:07 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
[10-Sep-2021 16:07:07 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