Apply filters to custom attribute option names for translation
This commit is contained in:
parent
22376b8d73
commit
38a2aac997
|
@ -574,7 +574,7 @@ class WC_Cart {
|
|||
if ( ! is_wp_error( $term ) && $term->name )
|
||||
$value = $term->name;
|
||||
} else {
|
||||
$value = ucfirst( $value );
|
||||
$value = ucfirst( apply_filters( 'woocommerce_variation_option_name', $value ) );
|
||||
}
|
||||
|
||||
if ( $flat )
|
||||
|
|
Loading…
Reference in New Issue