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

---

# the_modified_author()

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#see-also)
 * [Source](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#user-contributed-notes)

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

Displays the name of the author who last edited the current post, if the author’s
ID is available.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#see-also)󠁿

 * [get_the_author()](https://developer.wordpress.org/reference/functions/get_the_author/)

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

    ```php
    function the_modified_author() {
    	echo get_the_modified_author();
    }
    ```

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

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

| Uses | Description | 
| [get_the_modified_author()](https://developer.wordpress.org/reference/functions/get_the_modified_author/)`wp-includes/author-template.php` |

Retrieves the author who last edited the current post.

  |

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

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

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/functions/the_modified_author/?output_format=md#comment-content-1458)
 2.   [Codex](https://profiles.wordpress.org/codex/)  [  10 years ago  ](https://developer.wordpress.org/reference/functions/the_modified_author/#comment-1458)
 3. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_modified_author%2F%23comment-1458)
    Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_modified_author%2F%23comment-1458)
 4. **Display Last Modified Author’s ‘Public’ Name**
 5. Displays the value in the user’s Display name publicly as field.
 6.     ```php
        <p>This post was last modified by <?php the_modified_author(); ?></p>
        ```
    
 7.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fthe_modified_author%2F%3Freplytocom%3D1458%23feedback-editor-1458)

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