apply_filters( ‘get_post_modified_time’, string|int $time, string $format, bool $gmt )

In this article

Filters the localized time a post was last modified.

Parameters

$timestring|int
Formatted date string or Unix timestamp if $format is 'U' or 'G'.
$formatstring
Format to use for retrieving the time the post was modified.
Accepts 'G', 'U', or PHP date format. Default 'U'.
$gmtbool
Whether to retrieve the GMT time. Default false.

Source

return apply_filters( 'get_post_modified_time', $time, $format, $gmt );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.