Automattic\WooCommerce\Admin\BlockTemplates

BlockInterface::set_attributespublicWC 1.0

Set the block attributes.

Method of the class: BlockInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

$BlockInterface = new BlockInterface();
$BlockInterface->set_attributes( $attributes );
$attributes(array) (required)
The block attributes.

BlockInterface::set_attributes() code WC 10.6.2

public function set_attributes( array $attributes );