disable admin-bar search field for specific roles

Question

I would like to disable the admin bar search field when certain users, belonging to specific roles are logged in. I would like to keep the search field available for the role ‘admin’, but not others.

This post tells me how to remove the admin bar completely, but doesn’t give any info regarding how to selectively remove elements of it.

Does anyone have experience with this?

Thanks,
jml

0
, , jml 8 years 2014-01-20T15:00:18-05:00 0 Answers 95 views 0

Leave an answer

Browse
Browse