Display the latest author who modified a post

code below in your functions.php file

if (!function_exists(‘get_the_modified_author’)) { function get_the_modified_author() { global $post; if ( $last_id = get_post_meta($post->ID, ‘_edit_last’, true) ) { $last_user = get_userdata($last_id); return apply_filters(‘the_modified_author’, $last_user->display_name); } } } if (!function_exists(‘the_modified_author’)) { function the_modified_author() { echo get_the_modified_author(); } }

the use this in a template file to get the info:
<?php the_modified_author(); ?>


author modified post