wordpress / latest / hooks / month_link.html

apply_filters( 'month_link', string $monthlink, int $year, int $month )

Filters the month archive permalink.

Parameters

$monthlink string
Permalink for the month archive.
$year int
Year for the archive.
$month int
The month for the archive.

Source

File: wp-includes/link-template.php. View all references

return apply_filters( 'month_link', $monthlink, $year, $month );

Used By

Used By Description

Changelog

Version Description
1.5.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/month_link