title: Display the product shipping class on Woocommerce single product pages
body: <p>I'm trying to display the shipping class on product page but I must do something wrong because nothing shows..</p>
  
  <p>I used the bellow code in function.php:</p>
  
  <pre><code>add_action('woocommerce_single_product_summary', 'display_specific_shipping_class', 15 );
  function display_specific_shipping_class(){
      global $product;
  
      // HERE define your targeted shipping class name
      $defined_shipping_class = "Estimated Delivery in 7-15 days";
  
      $product_shipping_class = $product-&gt;get_shipping_class();
  
      // Get the product shipping class term name
      $term_name = get_term_by( 'slug', $product_shipping_class, 'product_shipping_class' );
  
      if( $term_name == $defined_shipping_class ){
          echo '&lt;p class="product-shipping-class"&gt;' . $term_name . '&lt;/p&gt;';
      }
  }
  </code></pre>