Sometime in post entry meta, you may need to show the post updated date. To get the updated date of any post you get can use get_the_modified_date.

But what happened if the updated date and the publish date, both are same.
Then you can use this code to get the updated date and show on any place on the post.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.