Viewing 1 replies (of 1 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @martinimarcello00,

    There’s no option inside M2 to hide this button from admin bar but adding this little code snippet in your child theme functions.php or as mu-plugin should do the trick for you:

    function hide_m2_admin_bar() { ?>
    	<style type="text/css">
    		#wp-admin-bar-ms-test-memberships { display: none; }
    	</style>
    <?php }
    add_action( 'init', 'hide_m2_admin_bar' );

    Cheers,
    Predrag

Viewing 1 replies (of 1 total)

The topic ‘Remove admin bar button’ is closed to new replies.