WordPress at a glance
filter is not described

year_link filter-hook . WP 1.5.0

Filters the year archive permalink.

Usage

add_filter( 'year_link', 'filter_function_name_710', 10, 2 );
function filter_function_name_710( $yearlink, $year ){
	// filter...

	return $yearlink;
}
$yearlink(string)
Permalink for the year archive.
$year(int)
Year for the archive.

Changelog

Since 1.5.0 Introduced.

Where the hook is called

get_year_link()
year_link
wp-includes/link-template.php 491
return apply_filters( 'year_link', $yearlink, $year );

Where the hook is used (in WP core)

Usage not found!