get_post_modified_time WordPress Filter Hook
The get_post_modified_time hook is triggered when the post is updated. It can be used to update the post meta or to perform any other actions.
apply_filters( 'get_post_modified_time',  string|int $time ,  string $format ,  bool $gmt  ) #
Filters the localized time a post was last modified.
Parameters
- $time
 (string|int)Formatted date string or Unix timestamp if
$formatis 'U' or 'G'.- $format
 (string)Format to use for retrieving the time the post was modified. Accepts 'G', 'U', or PHP date format. Default 'U'.
- $gmt
 (bool)Whether to retrieve the GMT time. Default false.
Source
Changelog
| Version | Description | 
|---|---|
| 2.8.0 | Introduced. |