apply_filters( ‘the_modified_date’, string|false $the_modified_date, string $format, string $before, string $after )

In this article

Filters the date a post was last modified for display.

Parameters

$the_modified_datestring|false
The last modified date or false if no post is found.
$formatstring
PHP date format.
$beforestring
HTML output before the date.
$afterstring
HTML output after the date.

Source

$the_modified_date = apply_filters( 'the_modified_date', $the_modified_date, $format, $before, $after );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

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