On this page
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_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
File: wp-includes/general-template.php. View all references
$the_modified_date = apply_filters( 'the_modified_date', $the_modified_date, $format, $before, $after );
Related
Used By
| Used By | Description |
|---|---|
| the_modified_date() wp-includes/general-template.php | Displays the date on which the post was last modified. |
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