apply_filters( ‘get_the_modified_date’, string|int|false $the_time, string $format, WP_Post|null $post )

In this article

Filters the date a post was last modified.

Parameters

$the_timestring|int|false
The formatted date or false if no post is found.
$formatstring
PHP date format.
$postWP_Post|null
WP_Post object or null if no post is found.

Source

return apply_filters( 'get_the_modified_date', $the_time, $format, $post );

Changelog

VersionDescription
4.6.0Added the $post parameter.
2.1.0Introduced.

User Contributed Notes

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