get_the_modified_time WordPress Filter Hook
The get_the_modified_time() function is a WordPress hook that allows you to get the post or page modified time. This can be useful for displaying the last time a post or page was updated.
apply_filters( 'get_the_modified_time', string|int|false $the_time , string $format , WP_Post|null $post ) #
Filters the localized time a post was last modified.
Parameters
Source
Changelog
Version | Description |
---|---|
4.6.0 | Added the $post parameter. |
2.0.0 | Introduced. |