Categories
Web Development WordPress

How to Tell if Your WordPress Widget is Active

Ever wonder if your widget is activated on an external site? Here’s how to find out. When you register a sidebar widget, you use code like this: register_sidebar_widget(array(‘Name of Widget’, ‘class-of-widget’), ‘widget_function’); If you want to check whether the widget is activated (you may want to for a variety of reasons), you can do it […]