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 on Trac

Changelog

Version Description
5.3.0 Introduced.

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