Long story, but I would like to change the class on the anchors within the rss widget to another class called "special_name". I thought this would work, but no luck -
function edit_anchor($anchor) {
return preg_replace('/<a class='rsswidget'/', '<a class='special_name'', $anchor, 1);
}
add_filter('wp_widget_rss','edit_anchor');
Any suggestions?