SHARE
TWEET

Untitled

a guest Jun 12th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ( ! function_exists( 'techmarket_single_product_cat_and_sku' ) ) {
  2.     function techmarket_single_product_cat_and_sku() { ?>
  3.         <div class="cat-and-sku">
  4.             <?php techmarket_single_product_categories(); ?>
  5.             <?php techmarket_single_product_sku(); ?>
  6.             <?php woocommerce_template_single_rating(); ?>
  7.         </div><?php
  8.     }
  9. }
  10.  
  11. if ( ! function_exists( 'techmarket_single_product_remove_rating' ) ) {
  12.     function techmarket_single_product_remove_rating( $product_id = null ) {
  13.         remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
  14.     }
  15. }
  16.  
  17. add_action( 'init', 'techmarket_single_product_remove_rating' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top