Automattic\WooCommerce\Admin\Features\ProductBlockEditor\ProductTemplates

SectionInterface::add_subsection()publicWC 1.0

Adds a new sub-section to the section.

Method of the class: SectionInterface{}

No Hooks.

Return

SubsectionInterface. new block sub-section.

Usage

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

SectionInterface::add_subsection() code WC 9.0.1

public function add_subsection( array $block_config ): SubsectionInterface;