get_post_time Wordpress function


Description:

Retrieve the time at which the post was written.


Syntax:


Arguments:

(string) $d Optional Either 'G', 'U', or php date format.
(bool) $gmt Optional, default is false. Whether to return the gmt time.
(int|object) $post Optional post ID or object. Default is global $post object.
(bool) $translate Whether to translate the time string


Return Type:

(string)


Define At:

wp-includes/general-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_post_time


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×