Automattic\WooCommerce\Blocks\Templates

ProductFiltersTemplate::init()publicWC 1.0

Initialization method.

Method of the class: ProductFiltersTemplate{}

No Hooks.

Return

null. Nothing (null).

Usage

$ProductFiltersTemplate = new ProductFiltersTemplate();
$ProductFiltersTemplate->init();

ProductFiltersTemplate::init() code WC 9.4.2

public function init() {
	add_filter( 'get_block_type_variations', array( $this, 'register_block_type_variation' ), 10, 2 );
}