Automattic\WooCommerce\Admin\Features\ProductBlockEditor\ProductTemplates

ProductFormTemplateInterface::add_group()publicWC 1.0

Adds a new group block.

Method of the class: ProductFormTemplateInterface{}

No Hooks.

Return

GroupInterface. new group block.

Usage

$ProductFormTemplateInterface = new ProductFormTemplateInterface();
$ProductFormTemplateInterface->add_group( $block_config ): GroupInterface;
$block_config(array) (required)
block config.

ProductFormTemplateInterface::add_group() code WC 9.0.1

public function add_group( array $block_config ): GroupInterface;