Remove variation get_name, it will get it from parent.

This commit is contained in:
Justin Shreve 2017-01-26 07:48:04 -08:00
parent 7b1adfb98f
commit 0b1685c76b
1 changed files with 0 additions and 10 deletions

View File

@ -120,16 +120,6 @@ class WC_Product_Variation extends WC_Product_Simple {
return apply_filters( 'woocommerce_product_add_to_cart_url', $url, $this );
}
/**
* Get product name.
*
* @param string $context
* @return string
*/
public function get_name( $context = 'view' ) {
return $this->get_prop( 'name', $context );
}
/**
* Get SKU (Stock-keeping unit) - product unique ID.
*