wordpress / latest / hooks / wp_date.html

apply_filters( 'wp_date', string $date, string $format, int $timestamp, DateTimeZone $timezone )

Filters the date formatted based on the locale.

Parameters

$date string
Formatted date string.
$format string
Format to display the date.
$timestamp int
Unix timestamp.
$timezone DateTimeZone
Timezone.

Source

File: wp-includes/functions.php. View all references

$date = apply_filters( 'wp_date', $date, $format, $timestamp, $timezone );

Used By

Used By Description

Changelog

Version Description
5.3.0 Introduced.

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