Merge pull request #2541 from dgwatkins/master
Apply filters to custom attribute option names for translation
This commit is contained in:
commit
b1d613af6c
|
@ -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