wc_disable_admin_bar()

Function: Prevent any user who cannot ‘edit_posts’ (subscribers, customers etc) from seeing the admin bar.

Source: includes/wc-user-functions.php:21

Used by 1 function | Uses 1 function