2020-05-01 / 3630阅 / 悠然
Will clean the attachment in the cache.
Cleaning means delete from the cache. Optionally will clean the term object cache associated with the attachment ID.
This function will not run if $_wp_suspend_cache_invalidation is not empty.
(int)
(Required)
The attachment ID in the cache to clean.
(bool)
(Optional)
Whether to clean terms cache.
Default value: false