On this page
do_action( 'clean_attachment_cache', int $id )
Fires after the given attachment’s cache is cleaned.
Parameters
$idint-
Attachment ID.
Source
File: wp-includes/post.php. View all references
do_action( 'clean_attachment_cache', $id );
Related
Used By
| Used By | Description |
|---|---|
| clean_attachment_cache() wp-includes/post.php | Will clean the attachment in the cache. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_attachment_cache