apply_filters( 'get_post_modified_time', string|int $time , string $format , bool $gmt )
Filters the localized time a post was last modified.
Parameters
- $time
-
Formatted date string or Unix timestamp if
$format
is 'U' or 'G'. - $format
-
Format to use for retrieving the time the post was modified.<br> Accepts 'G', 'U', or PHP date format. Default 'U'.
- $gmt
-
Whether to retrieve the GMT time. Default false.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |