Automattic\WooCommerce\Internal\Admin\BlockTemplates

AbstractBlock::removepublicWC 1.0

Remove the block from its parent.

Method of the class: AbstractBlock{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AbstractBlock = new AbstractBlock();
$AbstractBlock->remove();

AbstractBlock::remove() code WC 10.3.6

public function remove() {
	$this->parent->remove_block( $this->id );
}