wpseek.com
A WordPress-centric search engine for devs and theme authors
the_time › WordPress Function
Since0.71
Deprecatedn/a
› the_time ( $format = '' )
| Parameters: |
|
| Defined at: |
|
| Codex: |
Displays the time of the post.
Source
function the_time( $format = '' ) {
/**
* Filters the time of the post, for display.
*
* @since 0.71
*
* @param string $get_the_time The formatted time.
* @param string $format Format to use for retrieving the time the post
* was written. Accepts 'G', 'U', or PHP date format.
*/
echo apply_filters( 'the_time', get_the_time( $format ), $format );
}