Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
wp_date - 过滤基于本地的格式化日期 - WordPress钩子 - WordPress动力
当前浏览:首页 / WordPress钩子 / wp_date

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

过滤基于本地的格式化日期


Warning: Undefined array key -1 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 185

Warning: Undefined array key 2 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 186

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "1eb1c6a1b1d64fca20620178efd0ef14" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

datemore...


参数

$date

(string) 格式化的日期字符串。

$format

(string) 显示日期的格式。

$timestamp

(int) Unix时间戳。

$timezone

(DateTimeZone) 时区。



源码

查看源码 官方文档


更新日志

版本描述
5.3.0开始引入

Warning: Undefined variable $o in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line 194