Filters the time of the post.
$the_timestring|int$formatstring$postWP_Postwp-includes/general-template.php:2862get_the_time() * * @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. */ return apply_filters( 'get_the_time', $the_time, $format, $post );} /** * Retrieves the localized time of the post. * * @since 2.0.0Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.