apply_filters( 'get_post_time', string $time, string $d, bool $gmt )

Filters the localized time a post was written.


Parameters

$time

The formatted time.

$d

Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format. Default 'U'.

$gmt

Whether to retrieve the GMT time. Default false.


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.6.0 Introduced.