Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

clean_attachment_cache()

3 tags 1 category

clean_attachment_cache() — 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.

Inputs: $id (int): The attachment ID in the cache to clean. $clean_terms (bool): Optional. Whether to clean terms cache. Default false.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…