apply_filters( ‘the_modified_time’, string|false $get_the_modified_time, string $format )

In this article

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

echo apply_filters( 'the_modified_time', get_the_modified_time( $format ), $format );

Changelog

VersionDescription
2.0.0Introduced.

User Contributed Notes

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