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

In this article

Filters the date formatted based on the locale.

Parameters

$datestring
Formatted date string.
$formatstring
Format to display the date.
$timestampint
Unix timestamp.
$timezoneDateTimeZone
Timezone.

Source

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

Changelog

VersionDescription
5.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.