WordPress at a glance
filter is not described

get_archives_link filter-hook . WP 2.6.0

Filters the archive link content.

Usage

add_filter( 'get_archives_link', 'filter_function_name_1992', 10, 6 );
function filter_function_name_1992( $link_html, $url, $text, $format, $before, $after ){
	// filter...

	return $link_html;
}
$link_html(string)
The archive HTML link content.
$url(string)
URL to archive.
$text(string)
Archive text description.
$format(string)
Link format. Can be 'link', 'option', 'html', or custom.
$before(string)
Content to prepend to the description.
$after(string)
Content to append to the description.

Notes

  • Since 4.5.0 Added the $url, $text, $format, $before, and $after parameters.

Where the hook is called

get_archives_link()
wp-includes/general-template.php 1665
return apply_filters( 'get_archives_link', $link_html, $url, $text, $format, $before, $after );

Where the hook is used (in WP core)

Does not used.