Automattic\WooCommerce\Blocks\Templates
ProductFiltersTemplate::init()
Initialization method.
Method of the class: ProductFiltersTemplate{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ProductFiltersTemplate = new ProductFiltersTemplate(); $ProductFiltersTemplate->init();
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 ); }