Clear comment count transient when cleaning product transients

This commit is contained in:
Peter Fabian 2018-04-10 12:12:51 +02:00
parent fcb2a3136e
commit 8e8a1ca054
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ function wc_delete_product_transients( $post_id = 0 ) {
'wc_featured_products',
'wc_outofstock_count',
'wc_low_stock_count',
'wc_count_comments',
);
// Transient names that include an ID.