WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how to get the name of the user who last updated a post/page please? (Not the post author). I can see that it is visible in the post/page revisions but don't know how to access it.

Any ideas/help greatly appreciated.

share|improve this question
up vote 7 down vote accepted

You can use


See https://codex.wordpress.org/Function_Reference/the_modified_author

<p>This post was last modified by <?php the_modified_author(); ?></p>
share|improve this answer
Brilliant thanks : ) – sta777 Dec 19 '12 at 10:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.