AI Verified

Name

Remove WooCommerce Tabs

About

Unset the Description, Additional Info, or the Reviews Tabs from being visible.

Language

PHP

Rating

Voted: 0 by 0 user(s)

Codevault

WebSquadron

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.4

Our AI bot has checked this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

24/01/2024

Important Note

This snippet has the following status:

AI Verified

This snippet has been tested by our AI bot, see any comments below.

AI Bot Comments:

Found 0 vulnerabilities

Remove WooCommerce Tabs

 
                    
1function codesnippets_remove_woocommerce_tabs( $tabs ) {
2 /*unset( $tabs['description'] );*/
3 unset( $tabs['additional_information'] );
4 unset( $tabs['reviews'] );
5 return $tabs;
6}
7 
8add_filter( 'woocommerce_product_tabs', 'codesnippets_remove_woocommerce_tabs', 99 );

0

Related Snippets

Please see some snippets below related to this snippet..

WooCommerce

AI Verified

0

WooCommerce Add Stock Quantity Prefix

Added: 1 year ago

Last Updated: 1 year ago

This snippet allows you to add any custom prefix to the stock quantity shown on the single product template. In this particular example, we’ve added “Relax…there are” as the prefix....

WooCommerce

AI Verified

1

WooCommerce Change Checkout Field Labels

Added: 1 year ago

Last Updated: 1 year ago

Your business may require customised WooCommerce checkout field labels. This quick guide shows you how you can easily and quickly customise any checkout field label to any custom text you like. In thi...

WooCommerce

AI Verified

0

WooCommerce Only Allow Number Input For Billing Phone

Added: 1 year ago

Last Updated: 1 year ago

This snippet adds jQuery (run form the footer for performance reasons) which only allows number input in the billing phone field on the checkout. Specifically, it will find and delete anything which i...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

Performance

AI Verified

31

Remove Unused Javascript

Added: 1 year ago

Last Updated: 4 weeks ago

Remove Unused Javascript - and improve your Page Speed Insight Score

WooCommerce

Pro Verified

10

Deactivate some WooCommerce Checkout Fields

Added: 1 year ago

Last Updated: 2 days ago

Deactivate some WooCommerce Checkout Fields from showing

Elementor

AI Verified

6

CSS Grid Aid

Added: 7 months ago

Last Updated: 1 month ago

This can be used for any WordPress Builder to aid working with CSS Grids.