diff --git a/src/BlockTypes/FeaturedProduct.php b/src/BlockTypes/FeaturedProduct.php index c77597a7771..cd10147eec8 100644 --- a/src/BlockTypes/FeaturedProduct.php +++ b/src/BlockTypes/FeaturedProduct.php @@ -96,16 +96,16 @@ protected function render( $attributes, $content ) { $image_url = esc_url( $this->get_image_url( $attributes, $product ) ); - $styles = $this->get_styles( $attributes, $image_url ); - $classes = $this->get_classes( $attributes ); - $wrapper_classes = $this->get_wrapper_classes( $attributes ); + $classes = $this->get_classes( $attributes ); $output = sprintf( '