Skip to content

Commit

Permalink
Removed superfluous filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfabian committed Mar 11, 2019
1 parent d3dfee7 commit be292f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/class-wc-product-variation.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,7 @@ public function get_catalog_visibility( $context = 'view' ) {
* @return string
*/
public function get_attribute_summary( $context = 'view' ) {
$attribute_summary = $this->get_prop( 'attribute_summary', $context );
return apply_filters( $this->get_hook_prefix() . 'attribute_summary', $attribute_summary, $this );
return $this->get_prop( 'attribute_summary', $context );
}


Expand Down

0 comments on commit be292f0

Please sign in to comment.