get_year_link

SummerySummery

Retrieves the permalink for the year archives.

Syntax

get_year_link( int|false $year )

ParametersParameters

$year

(int|false) (Required) Integer of year. False for current year.

ReturnReturn

(string) The permalink for the specified year archive.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
1.5.0 Introduced.
Scroll to Top