Automattic\WooCommerce\Admin\BlockTemplates
BlockInterface::is_detached()
Check if the block is detached from its parent or root template.
Метод класса: BlockInterface{}
Хуков нет.
Возвращает
true|false
. True if the block is detached from its parent or root template.
Использование
$BlockInterface = new BlockInterface(); $BlockInterface->is_detached(): bool;
Код BlockInterface::is_detached() BlockInterface::is detached WC 9.2.3
public function is_detached(): bool;