Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/general-template.php | apply_filters | 2708 | /** * 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. */ |
Hook Parameters
Parameter 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 |
WP_Post | $post | Post object. |