How to remove "Show Toolbar when viewing site" option in User Profile?
-
Hi guys! I manage to remove the toolbar if the user is not administrator by using this :
if ( ! current_user_can( 'manage_options' ) ) {
show_admin_bar( false );
`}but still, when I go to the User Profile, I still see the
“Show Toolbar when viewing site” Option, which is logically wrong.
How can I remove that option?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to remove "Show Toolbar when viewing site" option in User Profile?’ is closed to new replies.