_get_admin_bar_pref
- %1$s is private and should not be used in themes or plugins directly.
_get_admin_bar_pref ( $context = 'front', $user = 0 )
Access:Parameters:- (string) context Context of this preference check. Defaults to 'front'. The 'admin' preference is no longer used.
- (int) user Optional. ID of the user to check, defaults to 0 for current user.
Returns:- (bool) Whether the admin bar should be showing for this user.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Retrieves the admin bar display preference of a user.