Automattic\WooCommerce\Internal\Admin\BlockTemplates

AbstractBlock::get_root_template()publicWC 1.0

Get the template that this block belongs to.

Method of the class: AbstractBlock{}

No Hooks.

Return

null. Nothing (null).

Usage

$AbstractBlock = new AbstractBlock();
$AbstractBlock->&get_root_template(): BlockTemplateInterface;

AbstractBlock::get_root_template() code WC 9.3.3

public function &get_root_template(): BlockTemplateInterface {
	return $this->root_template;
}