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 "c662a3ca6b84e8f01cc3765430bbe052" 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
参数
- $format
-
(string) (可选) 用于检索文章撰写时间的格式。接受“G”、“U”或PHP日期格式。
默认值: 'U'
- $gmt
-
(bool) (可选) 是否检索GMT时间。
默认值: false
- $post
-
(int|WP_Post) (可选) WP_Post对象或ID。默认值为全局$post对象。
默认值: null
- $translate
-
(bool) (可选) 是否转换时间字符串。
默认值: false
返回
(string|int|false) 如果$format是“U”或“G”,则为格式化的日期字符串或Unix时间戳。失败时为False。
Warning: Undefined variable $o in
/www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line
194