Apply filters to custom attribute option names for translation

This commit is contained in:
David Garcia Watkins 2013-02-27 15:14:05 +01:00
parent 22376b8d73
commit 38a2aac997
1 changed files with 1 additions and 1 deletions

View File

@ -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 )