get_the_modified_author
get_the_modified_author ( $post = null )
Parameters:- (int|WP_Post|null) post Optional. Post ID or post object. Default is global `$post` object.
Returns:- (string|null) The author's display name. Empty string if user is unavailable. Null if there was no last editor or the post is invalid.
Defined at:Change Log: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Retrieves the author who last edited the current post.