Title: the_modified_date
Published: April 25, 2014
Last modified: February 24, 2026

---

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

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#wp--skip-link--target)

Filters the date a post was last modified, for display.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#parameters)󠁿

 `$the_modified_date`string

The last modified date.

`$format`string

PHP date format.

`$before`string

HTML output before the date.

`$after`string

HTML output after the date.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/general-template.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/general-template.php#L2763)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/general-template.php#L2763-L2763)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#related)󠁿

| Used by | Description | 
| [the_modified_date()](https://developer.wordpress.org/reference/functions/the_modified_date/)`wp-includes/general-template.php` |

Displays the date on which the post was last modified.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/the_modified_date/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.1.0](https://developer.wordpress.org/reference/since/2.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fthe_modified_date%2F)
before being able to contribute a note or feedback.