$site->wasModifiedAfter()
Checks if any content of the site has been modified after the given unix timestamp This is mainly used to auto-update the cache
$site->wasModifiedAfter(mixed $time): bool
Parameters
Name | Type | Default |
---|---|---|
$time * | mixed |
– |
Return type
bool
Parent class
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 ?>