How to remove "Microthemer" option from Top admin bar?

This topic contains 2 replies, has 2 voices, and was last updated by  multiverso 3 days, 11 hours ago.

Author Posts

multiverso

Hi, I am using a snippet code to remove the “Microthemer” optin from top admin bar, but this don’t seem to work:

$wp_admin_bar->remove_node( 'wp-mcr-shortcut' );

It works with other plugins items, but this same approach it seems don’t work with Microthemer…

Any idea?

Thanks!


Sebastian

Hey,

I’m so sorry for the slow reply, I wasn’t getting most forum notifications since switching laptop, so am catching up on everything now.

But I recall you contacted me via email, and the above code was correct, you just needed to ensure the priority for the add_action call was higher than MT’s (999999).

Cheers,
Sebastian


multiverso

Hi Sebastian, thanks, you already replied by email, all good!

Thanks again

You must login or register to reply to this topic.