Hide Admin Bar From Front End 1.0.0

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

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -1.96 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.

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/hide-admin-bar-from-front-end/
Badges

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=9ef16c574c
Aspect after-activation
HTTP status 200
Load time 0.230 s
Memory usage 3.52 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.142 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.295 s-0.047 s3.51 MiB3.51 MiB+ 3.73 KiB
/wp-admin/edit.php0.200 s0.174 s-0.026 s3.57 MiB3.58 MiB+ 3.73 KiB
/wp-admin/post-new.php0.745 s0.610 s-0.135 s6.06 MiB6.07 MiB+ 8.16 KiB
/wp-admin/upload.php0.549 s0.525 s-0.024 s3.52 MiB3.51 MiB- 13.67 KiB
/wp-admin/options-writing.php0.210 s0.185 s-0.025 s3.5 MiB3.49 MiB- 9.68 KiB
/wp-admin/media-new.php0.270 s0.236 s-0.034 s3.49 MiB3.49 MiB- 1.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.186 s-0.016 s3.5 MiB3.51 MiB+ 9.19 KiB
/wp-admin/post-new.php?post_type=page0.582 s0.597 s+0.015 s6.05 MiB6.05 MiB+ 3.69 KiB
/wp-admin/options-discussion.php0.258 s0.384 s+0.126 s3.5 MiB3.49 MiB- 13.18 KiB
/wp-admin/edit-comments.php0.401 s0.201 s-0.200 s3.52 MiB3.51 MiB- 13.68 KiB
/0.291 s0.380 s+0.089 s3.43 MiB3.44 MiB+ 1.67 KiB
Average 0.368 s0.343 s-0.025 s3.97 MiB3.97 MiB- 1.96 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.

PHP
Language % Lines of code Comment lines Files
PHP100.0%64152
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

Additions

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

[02-May-2025 01:30:42 UTC] PHP Warning:  Undefined array key "add_opt_submit" in /wp-content/plugins/hide-admin-bar-from-front-end/includes/hide_admin_bar_from_front_end.php on line 8
[02-May-2025 01:30:42 UTC] PHP Warning:  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