clean_comment_cache WordPress Action Hook
The clean_comment_cache hook is called whenever the comment cache is cleaned. This hook can be used to perform any actions that need to be done when the comment cache is cleaned.
do_action( 'clean_comment_cache', int $id ) #
Fires immediately after a comment has been removed from the object cache.
Parameters
- $id
(int)Comment ID.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |