day_link WordPress Filter Hook
The day_link hook is used to display a link to the current day. This hook is useful for creating a daily archives link or a link to the current day's posts.
apply_filters( 'day_link', string $daylink , int $year , int $month , int $day ) #
Filters the day archive permalink.
Parameters
- $daylink
(string)Permalink for the day archive.
- $year
(int)Year for the archive.
- $month
(int)Month for the archive.
- $day
(int)The day for the archive.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |