Languages: English • 日本語 (Add your language)
This Conditional Tag checks if the WordPress Toolbar is being displayed. This is a boolean function, meaning it returns either TRUE or FALSE.
<?php is_admin_bar_showing(); ?>
This tag does not accept any parameters.
<?php if ( is_admin_bar_showing() ) { // do something } ?>
Since: 3.1.0
is_admin_bar_showing() is located in wp-includes/admin-bar.php
.