Automattic\WooCommerce\Admin\BlockTemplates

BlockInterface::get_parent()publicWC 1.0

Get the parent container that the block belongs to.

Method of the class: BlockInterface{}

No Hooks.

Return

null. Nothing (null).

Usage

$BlockInterface = new BlockInterface();
$BlockInterface->&get_parent(): ContainerInterface;

BlockInterface::get_parent() code WC 9.0.1

public function &get_parent(): ContainerInterface;