Filters the time of the post.
Parameters
$the_timestring|int- Formatted date string or Unix timestamp if
$formatis'U'or'G'. $formatstring- Format to use for retrieving the time the post was written. Accepts
'G','U', or PHP date format. $postWP_Post- Post object.
Source
return apply_filters( 'get_the_time', $the_time, $format, $post );
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.