1
vote
2answers
698 views

How to show a admin bar menu item only to users with certain capabilities?

I'm trying to add items to the admin bar but only for users with certain capabilities, such as add_movies in a plugin. The problem is that, according to @toscho and @TheDeadMedic, the plugin executes ...