clean_comment_cache action-hookWP 4.5.0

Fires immediately after a comment has been removed from the object cache.

Usage

add_action( 'clean_comment_cache', 'wp_kama_clean_comment_cache_action' );

/**
 * Function for `clean_comment_cache` action-hook.
 * 
 * @param int $id Comment ID.
 *
 * @return void
 */
function wp_kama_clean_comment_cache_action( $id ){

	// action...
}
$id(int)
Comment ID.

Changelog

Since 4.5.0 Introduced.

Where the hook is called

clean_comment_cache()
clean_comment_cache
wp-includes/comment.php 3287
do_action( 'clean_comment_cache', $id );

Where the hook is used in WordPress

Usage not found.