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.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More