_get_admin_bar_pref Wordpress function


Description:

Retrieve the admin bar display preference of a user.


Syntax:


Arguments:

(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.


Return Type:

(bool) Whether the admin bar should be showing for this user.


Define At:

wp-includes/admin-bar.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/_get_admin_bar_pref


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×