wordpress / latest / hooks / the_modified_date.html

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

Filters the date a post was last modified for display.

Parameters

$the_modified_date string|false
The last modified date or false if no post is found.
$format string
PHP date format.
$before string
HTML output before the date.
$after string
HTML output after the date.

Source

File: wp-includes/general-template.php. View all references

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

Used By

Used By Description

Changelog

Version Description
2.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_modified_date