Skip to content

Instantly share code, notes, and snippets.

@dennisnissle
Created October 14, 2021 10:31
Show Gist options
  • Save dennisnissle/01bb2c96b31fbfcb65932b7cc1f92d33 to your computer and use it in GitHub Desktop.
Save dennisnissle/01bb2c96b31fbfcb65932b7cc1f92d33 to your computer and use it in GitHub Desktop.
Disable variation attributes within product title
<?php
add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment