Filters the archive link content.
Parameters
$link_htmlstring- The archive HTML link content.
$urlstring- URL to archive.
$textstring- Archive text description.
$formatstring- Link format. Can be
'link','option','html', or custom. $beforestring- Content to prepend to the description.
$afterstring- Content to append to the description.
$selectedbool- True if the current page is the selected archive.
Source
return apply_filters( 'get_archives_link', $link_html, $url, $text, $format, $before, $after, $selected );
You can use this filter to add current-archive class to element (as current-cat in wp_list_categories() function):