Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aliciaduffy/3946283 to your computer and use it in GitHub Desktop.
Save aliciaduffy/3946283 to your computer and use it in GitHub Desktop.
Use generic comments on WoodCommerce Products
<?php
add_filter( 'comments_template', 'USEGENERIC_woocommerce_comments', 100);
function USEGENERIC_woocommerce_comments( $template ) {
$template = STYLESHEETPATH . '/comments.php';
return $template;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment