the_modified_author()WP 2.8.0

Outputs the author who last edited the post.

This Template Tag should be used inside the WordPress Loop.

1 time — 0.000054 sec (very fast) | 50000 times — 1.03 sec (fast) | PHP 7.1.2, WP 4.7.3

No Hooks.

Returns

null.

Usage

<?php the_modified_author(); ?>

Examples

0

#1 Display Last Modified Author’s ‘Public’ Name

<p>This post was last edited by: <?php the_modified_author(); ?></p>

Notes

Changelog

Since 2.8.0 Introduced.

the_modified_author() code WP 6.9

function the_modified_author() {
	echo get_the_modified_author();
}