Automattic\WooCommerce\Blocks\Templates

MiniCartTemplate::init()publicWC 1.0

Initialization method.

Method of the class: MiniCartTemplate{}

No Hooks.

Return

null. Nothing (null).

Usage

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

MiniCartTemplate::init() code WC 8.9.0

public function init() {
	add_filter( 'default_wp_template_part_areas', array( $this, 'register_mini_cart_template_part_area' ), 10, 1 );
}