# Hide SKU, Categories and Tags on Product Pages

> Removes the meta block below the add to cart button that lists the SKU, categories and tags of the product.

- Type: PHP
- Runs: Run everywhere
- Category: [WooCommerce](https://wpide.com/library/category/woocommerce/)
- Requires: WooCommerce
- Tags: woocommerce, product-page, meta
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/woo-hide-product-meta/

## Code

```php
add_action( 'woocommerce_before_single_product', function () {
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
} );
```

## Notes

To hide only the SKU, use the "Hide SKUs on the Front End" snippet instead.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Hide SKU, Categories and Tags on Product Pages" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
