$site->wasModifiedAfter()

Checks if any content of the site has been modified after the given unix timestamp

  • $time (int)
    A UNIX timestamp
  • return (boolean)

This is mainly used to auto-update the cache.

Example

<?php if($site->wasModifiedAfter(strtotime('2016-01-01' ))): ?>
The site was modified after 2016/01/01.
<?php endif ?>