Automattic\WooCommerce\Admin\Features\ProductBlockEditor\ProductTemplates

GroupInterface::add_sectionpublicWC 1.0

Adds a new section to the group

Method of the class: GroupInterface{}

No Hooks.

Returns

SectionInterface. new block section.

Usage

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

GroupInterface::add_section() code WC 10.5.0

public function add_section( array $block_config ): SectionInterface;