apply_filters( 'date_i18n', string $date , string $format , int $timestamp , bool $gmt )
Filters the date formatted based on the locale.
Parameters
- $date
-
Formatted date string.
- $format
-
Format to display the date.
- $timestamp
-
A sum of Unix timestamp and timezone offset in seconds.<br> Might be without offset if input omitted timestamp but requested GMT.
- $gmt
-
Whether to use GMT timezone. Only applies if timestamp was not provided.<br> Default false.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |