WORDPRESS – GET POST/PAGE LAST MODIFIED IN DAYS Example

0 37

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.

Code

 

You might also like More from author

Leave A Reply

Your email address will not be published.