Core Function
View Source on Trac ↗ the_modified_date()
the_modified_date( mixed $format = '', mixed $before = '', mixed $after = '', mixed $display = true ) Displays the date on which the post was last modified.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $format string | Optional. PHP date format. Defaults to the 'date_format' option. |
| $before string | Optional. Output before the date. Default empty. |
| $after string | Optional. Output after the date. Default empty. |
| $display bool | Optional. Whether to echo the date or return it. Default true. |
Return Value
((string)
| void) String if retrieving.
Function Information
Since Version
2.1.0
Source File
wp-includes/general-template.php
Advertisement