Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-comments.php

WC_Comments::get_review_counts_for_product_ids()

Method: Utility function for getting review counts for multiple products in one query. This is not cached.

Source: includes/class-wc-comments.php:355

Used by 2 functions | Uses 0 functions

WC_Comments::validate_product_review_verified_owners()

Method: Validate product reviews if requires a verified owner.

Source: includes/class-wc-comments.php:455

Used by 0 functions | Uses 1 function

WC_Comments::get_average_rating_for_product()

Method: Get product rating for a product. Please note this is not cached.

Source: includes/class-wc-comments.php:319

Used by 2 functions | Uses 0 functions

WC_Comments::get_review_count_for_product()

Method: Get product review count for a product (not replies). Please note this is not cached.

Source: includes/class-wc-comments.php:396

Used by 1 function | Uses 1 function

WC_Comments::get_rating_counts_for_product()

Method: Get product rating count for a product. Please note this is not cached.

Source: includes/class-wc-comments.php:409

Used by 2 functions | Uses 0 functions

WC_Comments::update_comment_type()

Method: Update comment type of product reviews.

Source: includes/class-wc-comments.php:442

Used by 0 functions | Uses 1 function

WC_Comments::is_default_comment_type()

Method: Determines if a comment is of the default type.

Source: includes/class-wc-comments.php:490

Used by 2 functions | Uses 0 functions

WC_Comments::wp_count_comments()

Method: Remove order notes and webhook delivery logs from wp_count_comments().

Source: includes/class-wc-comments.php:228

Used by 0 functions | Uses 0 functions

WC_Comments::add_avatar_for_review_comment_type()

Method: Make sure WP displays avatars for comments with the `review` type.

Source: includes/class-wc-comments.php:292

Used by 0 functions | Uses 0 functions

WC_Comments::add_comment_purchase_verification()

Method: Determine if a review is from a verified owner at submission.

Source: includes/class-wc-comments.php:302

Used by 1 function | Uses 1 function
1 2 3 Next »
Proudly powered by WordPress