clean_attachment_cache хук-событие . WP 3.0.0
Fires after the given attachment's cache is cleaned.
Использование
add_action( 'clean_attachment_cache', 'action_function_name_3426' ); function action_function_name_3426( $id ){ // action... }
- $id(число)
- Attachment ID.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
clean_attachment_cache
wp-includes/post.php 7078
do_action( 'clean_attachment_cache', $id );