No offense, but this plugin seems pretty trivial, as it only outputs
#wpadminbar #adminbarsearch {display: none;}
which someone could quite easily do much quicker with their CSS editor.
Do you know how to remove it with PHP?
No offense, but this plugin seems pretty trivial, as it only outputs
#wpadminbar #adminbarsearch {display: none;}
which someone could quite easily do much quicker with their CSS editor.
Do you know how to remove it with PHP?
Yes, this is a small plugin indeed. However, it addresses the following:
There is no way to remove it using PHP - it's baked directly in the render() method for the admin bar class. Believe me, if I could have done it that way, I would, and then would have titled the plugin "Remove Admin Bar Search" instead of "Hide Admin Bar Search".
This topic has been closed to new replies.