How To: Get Post/Page Last Modified in Days – WordPress

This is another interesting posts dealing with time again, this simply return last modified in days instead of date and time, this is helpful if you want to do something in your posts that is e.g. 7 days not updated or modified, a good example for this is on listing site where you want all listing owners to receive email notification saying “your listing has not been updated for week” or even more, the door is open for possibility.


Happy coding ^_^

by Ryan Sutana