How to make trashed posts show post_modified instead of post_date
A client has a very specific request and my Googling hasn’t come up with any results.
The client wants the trashed posts (of a specific custom post type) to show their modified date instead of the creation date when listed in the back-end of WordPress. The post_modified is updated when you change its status from publish to trash so this should be accurate.
I was wondering which hook to investigate or even a source file that I can change to accommodate this. As mentioned before, I have Googled for an answer but haven’t come up with anything.
Any help or insight is greatly appreciated. Thanks!
- The topic ‘How to make trashed posts show post_modified instead of post_date’ is closed to new replies.