\TriTan\Common\PostPostCache

Summary

Methods
Properties
Constants
__construct()
update()
clean()
$cache
$hook
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$cache

$cache : 

Type

$hook

$hook : 

Type

Methods

update()

update(object|\TriTan\Common\Post\Post  $post) : boolean|null

Update post caches.

Parameters

object|\TriTan\Common\Post\Post $post

Post object to be cached.

Returns

boolean|null —

Returns false on failure.

clean()

clean(object|\TriTan\Common\Post\Post  $post) 

Clean Post caches.

Uses clean_post_cache action.

Parameters

object|\TriTan\Common\Post\Post $post

Post object to be cleaned from the cache.