Automattic\WooCommerce\Admin\BlockTemplates

BlockInterface::get_parentpublicWC 1.0

Get the parent container that the block belongs to.

Method of the class: BlockInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

BlockInterface::get_parent() code WC 9.9.4

public function &get_parent(): ContainerInterface;