Created
September 15, 2016 21:23
-
-
Save hirejordansmith/93729783fe88371faef45feae45847aa to your computer and use it in GitHub Desktop.
How to Change or Remove the Product Description Title in WooCommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Change the Product Description Title | |
add_filter('woocommerce_product_description_heading', 'hjs_product_description_heading'); | |
function hjs_product_description_heading() { | |
return __('NEW TITLE HERE', 'woocommerce'); | |
} | |
// Remove the Product Description Title | |
add_filter('woocommerce_product_description_heading', 'hjs_product_description_heading'); | |
function hjs_product_description_heading() { | |
return ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment