RatingFilter.php
<?php
namespace Automattic\WooCommerce\Blocks\BlockTypes;
/**
* PriceFilter class.
*/
class RatingFilter extends AbstractBlock {
/**
* Block name.
*
* @var string
*/
protected $block_name = 'rating-filter';
const RATING_QUERY_VAR = 'rating_filter';
/**
* Get the frontend script handle for this block type.
*
* @param string $key Data to get, or default to everything.
*/
protected function get_block_type_script( $key = null ) {
return null;
}
/**
* Get the frontend style handle for this block type.
*
* @return string[]
*/
protected function get_block_type_style() {
return array_merge( parent::get_block_type_style(), [ 'wc-blocks-packages-style' ] );
}
}