1372<?php1373 * The user's display preference is used for logged in users.1374 *1375 * @since 3.1.01376 *1377 * @param bool $show_admin_bar Whether the admin bar should be shown. Default false.1378 */1379 $show_admin_bar = apply_filters( 'show_admin_bar', $show_admin_bar );13801381 return $show_admin_bar;1382}13831384/**1385 * Retrieves the admin bar display preference of a user.
History
Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.