$cache
$cache :
__construct(\TriTan\Interfaces\Cache\ObjectCacheInterface $cache, \TriTan\Interfaces\Hooks\ActionFilterHookInterface $hook)
\TriTan\Interfaces\Cache\ObjectCacheInterface | $cache | |
\TriTan\Interfaces\Hooks\ActionFilterHookInterface | $hook |
update(object|\TriTan\Common\Post\Post $post) : boolean|null
Update post caches.
object|\TriTan\Common\Post\Post | $post | Post object to be cached. |
Returns false on failure.
clean(object|\TriTan\Common\Post\Post $post)
Clean Post caches.
Uses clean_post_cache
action.
object|\TriTan\Common\Post\Post | $post | Post object to be cleaned from the cache. |