apply_filters( 'lifterlms_disable_admin_bar', boolean $disabled )
Filter whether or not the WP Admin Bar is disabled for users
Description Description
By default, the admin bar is disabled for all users except those with the edit_posts
or manage_lifterlms
capabilities.
Parameters Parameters
- $disabled
-
(boolean) Whether or not the admin bar should be disabled.