Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
get_the_time - 过滤撰写文章的时间 - WordPress钩子 - WordPress动力
当前浏览:首页 / WordPress钩子 / get_the_time

apply_filters( 'get_the_time', string|int $the_time, string $format, WP_Post $post )

过滤撰写文章的时间


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 3 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 "da3fa25e51008d111052e4f7cd1619a4" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

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

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

themore...

timemore...


参数

$the_time

(string|int) 格式化的日期字符串或Unix时间戳(如果$format为“U”或“G”)。

$format

(string) 用于检索文章撰写时间的格式。接受“G”、“U”或PHP日期格式。

$post

(WP_Post) Post对象



源码

查看源码 官方文档


更新日志

版本描述
1.5.0开始引入

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