woothemes/woocommerce — Issue #250: Best way to remove 'Product Description' heading
Author: DanielBakovic
Created: 2011-11-22 12:33:36+00:00
State: open

I tried to remove the 'Product Description' heading from the single product page using a filter on 'woocommerce_product_description_heading' but the problem is that the filter will only remove the heading but not the h2 tags.

echo '

' . apply_filters('woocommerce_product_description_heading', __('Product Description', 'woothemes')) . '

';

Would it be possible to add the h2 tags to the filter, too?

I've also tried to remove the action:

remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_description_panel')

and to replace it with my own action but then the content was displayed twice.

Therefor I decided to override the woocommerce_product_description_panel function with. It works but I don't like that solution. :)