Published on Nov 10, 2019
How to change “Additional information” heading text for WooCommerce Product Info
Sridhar Katakam
Looking to modify/edit Additional information
text on single WooCommerce product pages when you have Product Info being shown?
Here’s How:
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Change product’s “Additional information” text
Code:
add_filter( 'woocommerce_product_additional_information_heading', 'wpdd_change_additional_information_heading' );
/**
* @return string Modified value for product's "Additional information" text.
*/
function wpdd_change_additional_information_heading() {
return __( 'Additional info', 'mytextdomain' );
}
Leave the snippet to be run everywhere.
Save changes and activate.
Source: /wp-content/plugins/woocommerce/templates/single-product/tabs/additional-information.php.