How can I call the usernames of people that have edited a post?
I know I can use get_the_modified_time
to display the time the post was last modified, is the same possible with the list of users that edited it?
How can I call the usernames of people that have edited a post?
I know I can use get_the_modified_time
to display the time the post was last modified, is the same possible with the list of users that edited it?
Comments are closed.
The WordPress function
get_the_modified_author()
will give you theauthor who last edited the current post.
But if you want to list all the users that have edit the current post, you could try:
This function will give you a distinct comma seperated list of the users that have edit the current post (i.e. their display name). This should also work with custom post types.