Removed inline function from widget_init hook to support older versions of PHP.
Ticket #FP-5