Forums
Forums / Plugins / Trouble when testing the admin bar visibility
(@axiol)
14 years, 5 months ago
Hello hello,
So, for my plug-in, I’ld like to test if the admin bar is visible or not. So, I use if ( is_admin_bar_showing() ) { ... }
if ( is_admin_bar_showing() ) { ... }
Problem is, once I add this test, I’ve an Error 500… If I remove it, everything go back to normal.
Anyone would have an idea ?
The topic ‘Trouble when testing the admin bar visibility’ is closed to new replies.