the_modified_author()
Display the name of the author who last edited the current post, if the author's ID is available.
1 time — 0.000054 sec (very fast) | 50000 times — 1.03 sec (fast) | PHP 7.1.2, WP 4.7.3
No Hooks.
Return
null
. Nothing (null).
Usage
the_modified_author();
Examples
#1 Display Last Modified Author’s ‘Public’ Name
<p>This post was last edited by: <?php the_modified_author(); ?></p>
Notes
- See: get_the_author()
Changelog
Since 2.8.0 | Introduced. |
the_modified_author() the modified author code WP 6.7.1
function the_modified_author() { echo get_the_modified_author(); }