Remove duplicate inherited method

Closes #16206
This commit is contained in:
Mike Jolley 2017-07-21 10:39:24 +01:00
parent 50dbef7e8e
commit e44450a40c
1 changed files with 0 additions and 10 deletions

View File

@ -426,16 +426,6 @@ class WC_Product_Variation extends WC_Product_Simple {
$this->set_prop( 'attributes', $attributes );
}
/**
* Returns array of attribute name value pairs. Keys are prefixed with attribute_, as stored.
*
* @param string $context
* @return array
*/
public function get_attributes( $context = 'view' ) {
return $this->get_prop( 'attributes', $context );
}
/**
* Returns whether or not the product has any visible attributes.
*