Filters the time of the post, for display.
$get_the_timestring$formatstringwp-includes/general-template.php:3042the_time() * @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 );} /** * Retrieves the time of the post. * * @since 1.5.0Introduced in 0.71. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.