wp-includes/author-template.php:94Retrieves the author who last edited the current post.
$postint|WP_Post|nulloptionalnullstring|nullOne hook fires while get_the_modified_author() runs, in this order:
Filters the display name of the author who last edited the current post.
function get_the_modified_author( $post = null ) { $post = get_post( $post ); if ( ! $post ) { return null; } $last_id = get_post_meta( $post->ID, '_edit_last', true ); if ( ! $last_id ) { return null; } $last_user = get_userdata( $last_id ); /** * Filters the display name of the author who last edited the current post. * * @since 2.8.0 * * @param string $display_name The author's display name, empty string if user is unavailable. */ return apply_filters( 'the_modified_author', $last_user ? $last_user->display_name : '' );}Introduced in 2.8.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$post added.verified against sourcestring|void to string|null.verified against sourcesrc/wp-includes/author-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.