Automattic\WooCommerce\Admin\BlockTemplates

BlockInterface::is_detached()publicWC 1.0

Check if the block is detached from its parent or root template.

Method of the class: BlockInterface{}

No Hooks.

Return

true|false. True if the block is detached from its parent or root template.

Usage

$BlockInterface = new BlockInterface();
$BlockInterface->is_detached(): bool;

BlockInterface::is_detached() code WC 9.7.1

public function is_detached(): bool;