Automattic\WooCommerce\Admin\BlockTemplates

BlockInterface::get_root_templatepublicWC 1.0

Get the root template that the block belongs to.

Method of the class: BlockInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

BlockInterface::get_root_template() code WC 10.4.3

public function &get_root_template(): BlockTemplateInterface;