WPDev.one
Core Function
View Source on Trac ↗

get_day_link()

get_day_link( mixed $year, mixed $month, mixed $day )

Retrieves the permalink for the day archives with year and month.

Parameters 3 required

Name / Type Description
(int

| false) $year Integer of year. False for current year.

Required
(int

| false) $month Integer of month. False for current month.

Required
(int

| false) $day Integer of day. False for current day.

Required

Return Value

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

Function Information

Since Version
1.0.0
Source File
wp-includes/link-template.php
Advertisement