[wp-hackers] Hiding the admin bar search

Otto otto at ottodestruct.com
Fri Jan 14 05:52:34 UTC 2011

On Thu, Jan 13, 2011 at 10:55 PM, Helen Hou-Sandi <helen.y.hou at gmail.com> wrote:
> Is there any way to remove/hide the search box in the 3.1 admin bar besides
> using CSS? I didn't notice a hook for it as it is output directly in
> render(), but I could be missing something.

No, CSS is the only way. But it's easy enough to do via CSS.

#adminbarsearch-wrap { display:none; }


More information about the wp-hackers mailing list