Automattic\WooCommerce\Admin\BlockTemplates
ContainerInterface::remove_block()
Removes a block from the container.
Method of the class: ContainerInterface{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ContainerInterface = new ContainerInterface(); $ContainerInterface->remove_block( $block_id );
- $block_id(string) (required)
- The block ID.
ContainerInterface::remove_block() ContainerInterface::remove block code WC 9.7.1
public function remove_block( string $block_id );