date_i18n
最后更新于:2021-11-26 04:12:42
apply_filters( ‘date_i18n’, string $date, string $format, int $timestamp, bool $gmt )
Filters the date formatted based on the locale.
参数
- $date
-
(string)
Formatted date string. - $format
-
(string)
Format to display the date. - $timestamp
-
(int)
A sum of Unix timestamp and timezone offset in seconds. Might be without offset if input omitted timestamp but requested GMT. - $gmt
-
(bool)
Whether to use GMT timezone. Only applies if timestamp was not provided. Default false.
源文件
文件: gc-includes/functions.php