get_month_link

SummerySummery

Retrieves the permalink for the month archives with year.

Syntax

get_month_link( int|false $year, int|false $month )

ParametersParameters

$year

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

$month

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

ReturnReturn

(string) The permalink for the specified month and year archive.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
1.0.0 Introduced.
Scroll to Top