I want to create a widget based on 2 of the default widgets; tabbed siderbar, featured sotries. I know how (or have a basic template) for creating a custom widget, the problem is that i want to use segments of code from each of the default widgets to create a kind of hybrid, however i cant find the code for individual widgets.
I have found the file /wp-includes/widgets.php. Is this where individual default widget code is, or does this just call other files for each widget?
Any help would be great, thanks.