This WordPress code snippet will allow you to check if the current user is the post author. You can also use this method to leave a personalized message for post author.
If you like this article, share it with others on Facebook or Twitter.
To leave a comment, please visit Check if The Current User is The Post Author in WordPress on WordPress Code Snippets Library.