WooCommerce Change or Remove Single Product Page Description Title

Today, We want to share with you WooCommerce Change or Remove Single Product Page Description Title.In this post we will show you Rename Description tab in Woocommerce single product page, hear for woocommerce remove short description from single product page we will give you demo and example for implement.In this post, we will learn about How to Change or Remove the Product Description Title in WooCommerce with an example.

WooCommerce Change or Remove Single Product Page Description Title

There are the Following The simple About Woo-commerce Change or Remove Single Product Page Description Title Full Information With Example and source code.

READ :  Vue Js Get Current Date Time Example

As I will cover this Post with live Working example to develop Custom Product Tabs for WooCommerce, so the Change “Product Description” text in single product woocommerce for this example is following below.

Change “Product Description” text in single product woocommerce

[php]
/**
* Rename on single product panel “Product Description”
* since it already says “features” on tab.
*/
function infinityknow_product_description_heading() {
return __(‘YOUR MAIN CUSTOM TITLE’, ‘woocommerce’);
}

add_filter(‘woocommerce_product_description_heading’,
‘infinityknow_product_description_heading’);
[/php]

Rename Product Description, Additional Information, and Reviews Tab Text in WooCommerce

Rename “Product Description” Heading Text

Rename the heading title on the “Product Description” tab section for single products.

[php]
add_filter( ‘woocommerce_product_description_heading’, ‘jdk_product_description_heading’ );

READ :  Retrieve a webhook using PHP WooCommerce Rest Api

function jdk_product_description_heading() {
return ‘YOUR PRODUCT DESCRIPTION TITLE’;
}
[/php]

Delete “Product Description” Heading Text

Delete the “Product Description” heading from the single product Description tab section

[php]
add_filter( ‘woocommerce_product_description_heading’, ‘__return_false’ );
[/php]

Rename “Description” Tab Link Text

Rename the Description tab link text for single products

[php]
add_filter( ‘woocommerce_product_description_tab_title’, ‘jdk_wc_description_tab_link_text’, 999, 2 );

function jdk_wc_description_tab_link_text( $text, $tab_key ) {

return esc_html( ‘YOUR CUSTOM TEXT’ );

}
[/php]

Rename “Additional Information” Heading Text

Rename the heading on the Additional Information tab section title for single products.

[php]
add_filter( ‘woocommerce_product_additional_information_heading’, ‘jdk_additional_info_heading’ );

function jdk_additional_info_heading() {
return ‘YOUR ADDITIONAL INFO TITLE’;
}
[/php]

Delete “Additional Information” Heading Text

Delete the “Additional Information” heading from the single product Additional Information tab section

READ :  Angular Dynamic Routing and Templating View

[php]
add_filter( ‘woocommerce_product_additional_information_heading’, ‘__return_false’ );
[/php]

Rename “Additional Information” Tab Link Text

Rename the “Additional Information” tab link text for single products

[php]
add_filter( ‘woocommerce_product_additional_information_tab_title’, ‘jdk_wc_additional_info_tab_link_text’, 999, 2 );

function jdk_wc_additional_info_tab_link_text( $text, $tab_key ) {

return esc_html( ‘IMPORTANT DETAILS’ );

}
[/php]

Rename “Reviews” Tab Link Text

Rename the “Reviews” tab link text for single products

[php]
add_filter( ‘woocommerce_product_reviews_tab_title’, ‘jdk_wc_reviews_tab_link_text’, 999, 2 );

function jdk_wc_reviews_tab_link_text( $text, $tab_key ) {

return esc_html( ‘WHAT PEOPLE ARE SAYING’ );

}
[/php]

Web Programming Tutorials Example with Demo

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Woo Commerce Change or Remove Single Product Page Description Title.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Reply

Your email address will not be published. Required fields are marked *