How can I restrict access to a widget to admins only?
<p>I have a very basic text widget, all it does is link to a PHP script which displays a random banner image. I would like to restrict viewing access to admins whilst I'm testing the widget. How is this possible? Can I use a WP function to restrict access to this widget?</p>
