Hide 'Show Toolbar' option in WordPress profile page

Hide show toolbar option in profile page

//Hide 'Show Toolbar' option in WordPress profile page
function hide_toolbar_option() { ?>
	<style type="text/css">.show-admin-bar { display: none; }</style>
<?php }
add_action('admin_print_scripts-profile.php', 'hide_toolbar_option');

Need Help?

Do you need any help on WordPress? I'm happy to help you.

Contact Me