On this page
apply_filters( 'the_modified_time', string|false $get_the_modified_time, string $format )
Filters the localized time a post was last modified, for display.
Parameters
$get_the_modified_timestring|false-
The formatted time or false if no post is found.
$formatstring-
Format to use for retrieving the time the post was modified. Accepts
'G','U', or PHP date format.
Source
File: wp-includes/general-template.php. View all references
echo apply_filters( 'the_modified_time', get_the_modified_time( $format ), $format );
Related
Used By
| Used By | Description |
|---|---|
| the_modified_time() wp-includes/general-template.php | Displays the time at which the post was last modified. |
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_modified_time