Automattic\WooCommerce\Admin\BlockTemplates

BlockInterface::get_root_template()publicWC 1.0

Get the root template that the block belongs to.

Method of the class: BlockInterface{}

No Hooks.

Return

null. Nothing (null).

Usage

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

BlockInterface::get_root_template() code WC 9.7.1

public function &get_root_template(): BlockTemplateInterface;