woocommerce_comments( WP_Comment $comment, array $args, int $depth )
Output the Review comments template.
Description Description
Parameters Parameters
- $comment
-
(Required) Comment object.
- $args
-
(Required) Arguments.
- $depth
-
(Required) Depth.
Source Source
File: includes/wc-template-functions.php
function woocommerce_comments( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; // WPCS: override ok. wc_get_template( 'single-product/review.php', array( 'comment' => $comment, 'args' => $args, 'depth' => $depth, ) ); }