Automattic\WooCommerce\Admin\Features\ProductBlockEditor\ProductTemplates
GroupInterface::add_section()
Adds a new section to the group
Method of the class: GroupInterface{}
No Hooks.
Return
SectionInterface
. new block section.
Usage
$GroupInterface = new GroupInterface(); $GroupInterface->add_section( $block_config ): SectionInterface;
- $block_config(array) (required)
- block config.
GroupInterface::add_section() GroupInterface::add section code WC 9.7.1
public function add_section( array $block_config ): SectionInterface;