W3cubDocs

/WordPress

apply_filters( 'the_time', string $get_the_time, string $format )

Filters the time a post was written for display.

Parameters

$get_the_time

(string) The formatted time.

$format

(string) The time format. Accepts 'G', 'U', or PHP date format.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
0.71 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_time