Created
December 7, 2023 23:08
-
-
Save andreiglingeanu/1adbb9c2e2a3361137a5a56e3782da54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('blocksy:woocommerce:product-single:layout', function ($layout) { | |
// Inspect layout for more info | |
foreach ($layout as $key => $value) { | |
if ($value['id'] === 'product_title') { | |
$layout[$key]['enabled'] = false; | |
} | |
} | |
return $layout; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment