WooCommerce 2.6 – Hide the “In stock” message on product page.

By default WooCommerce 2.6 always show the “In stock” and “Out of stock” messages on product pages.

The follow code helps you hide only the “In stock” message: