ActionScheduler_wpCommentLogger::delete_comment_count_cache() public WC 1.0
Delete comment count cache whenever there is new comment or the status of a comment changes. Cache will be regenerated next time ActionScheduler_wpCommentLogger::filter_comment_count() is called.
{} It's a method of the class: ActionScheduler_wpCommentLogger{}
No Hooks.
Return
Null. Nothing.
Usage
$ActionScheduler_wpCommentLogger = new ActionScheduler_wpCommentLogger(); $ActionScheduler_wpCommentLogger->delete_comment_count_cache();
Code of ActionScheduler_wpCommentLogger::delete_comment_count_cache() ActionScheduler wpCommentLogger::delete comment count cache WC 5.0.0
public function delete_comment_count_cache() {
delete_transient( 'as_comment_count' );
}