apply_filters( 'get_the_time', string $the_time, string $d, int|WP_Post $post )

Filters the time a post was written.


Parameters

$the_time

The formatted time.

$d

Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format value specified in 'time_format' option. Default empty.

$post

WP_Post object or ID.


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced.