On this page
apply_filters( 'wp_date', string $date, string $format, int $timestamp, DateTimeZone $timezone )
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
File: wp-includes/functions.php. View all references
$date = apply_filters( 'wp_date', $date, $format, $timestamp, $timezone );
Related
Used By
| Used By | Description |
|---|---|
| wp_date() wp-includes/functions.php | Retrieves the date, in localized format. |
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