Automattic\WooCommerce\Admin\BlockTemplates
BlockInterface::is_detached()
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() BlockInterface::is detached code WC 9.7.1
public function is_detached(): bool;