Is there any filter which can be used in a plugin to process the content of the text widget before it is rendered?

2 s
Filter
- widget_text (for the text)
- widget_title (for the title)
Example
function add_smiley($content) {
$new_content="";
$new_content.= $content . ':)';
return $new_content;
}
add_filter('widget_text', 'add_smiley');
Note that this works only for the content so not if you have a widget with only a title.
Reference
- http://codex.wordpress.org/WordPress_Widgets
- https://stackoverflow.com/questions/1385954/do-wordpress-widget-or-sidebar-hooks-exist
- https://stackoverflow.com/search?q=wordpress+widget