display microthemer in toolbars to only admin user id 1

Author Posts

webspeed

Is it possible to display microthemere only to user id 1.

I have other admin users but i dont want them to be able to access microthemer, only my login

thanks!


Sebastian

Hey, thanks for your question. Microthemer doesn’t have any options for limiting access to certain roles or user IDs. But I found a Kinsta article which describes a method that involves creating a simple Must Use plugin. It could be a good option if you’re comfortable with PHP. The article also mentions that a plugin called Plugin Organizer can help you restrict plugin access based on user roles. Could be worth checking out.

Some things to consider however:

  1. I don’t know if the user ID is available at the point that MU plugins run
  2. The plugin may not provide control over specific user IDs

Cheers,
Sebastian

You must login or register to reply to this topic.