clean_attachment_cache action-hook . WP 3.0.0
Fires after the given attachment's cache is cleaned.
Usage
add_action( 'clean_attachment_cache', 'action_function_name_7682' ); function action_function_name_7682( $id ){ // action... }
- $id(int)
- Attachment ID.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
clean_attachment_cache
wp-includes/post.php 7078
do_action( 'clean_attachment_cache', $id );