WordPress at Your Fingertips
filter is not described

get_archives_link filter-hook . WP 2.6.0

Filters the archive link content.


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

	return $link_html;
The archive HTML link content.
URL to archive.
Archive text description.
Link format. Can be 'link', 'option', 'html', or custom.
Content to prepend to the description.
Content to append to the description.
True if the current page is the selected archive.


Since 2.6.0 Introduced.
Since 4.5.0 Added the $url, $text, $format, $before, and $after parameters.
Since 5.2.0 Added the $selected parameter.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.