Description
Filters the time a post was written.
Occurrences
Filename | Line Number |
---|---|
wp-includes/general-template.php | 2730 |
Parameters
Type | Name | Description |
---|---|---|
string|int | $the_time | Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. |
string | $format | Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format. |
WP_Post | $post | Post object. |
PHP Doc
/**
* Filters the time a post was written.
*
* @since 1.5.0
*
* @param string|int $the_time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
* @param string $format Format to use for retrieving the time the post
* was written. Accepts 'G', 'U', or PHP date format.
* @param WP_Post $post Post object.
*/