I’ve been trying to remove the product SKU located after the product title in WooCommerce email notifications.
I have tried the following:
function sv_remove_product_page_skus( $enabled ) {
if ( ! is_admin() && is_product() ) {
return false;
}
return $enabled;
}
add_filter( 'wc_product_sku_enabled', 'sv_remove_product_page_skus' );
But didn’t work, the product SKU remains after the product title.