Add filter to blogroll widget
Filter the arguments for the blogroll: add_filter( ‘widget_links_args’, ‘wpse_76521_filter_blogroll’ ); function wpse_76521_filter_blogroll( $args ) { $li_start = isset ( $args[‘before’] ) ? $args[‘before’] : ‘<li>’; $args[‘before’] = $li_start . ‘<i class=”icon-ok”></i>’; return $args; } Explanation The blogroll is created by the widget class WP_Widget_Links. This class calls wp_list_bookmarks() with some prepared widget arguments which we … Read more