Automattic\WooCommerce\Internal\Admin\BlockTemplates

AbstractBlock::set_attributespublicWC 1.0

Set the block attributes.

Method of the class: AbstractBlock{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

AbstractBlock::set_attributes() code WC 10.8.1

public function set_attributes( array $attributes ) {
	$this->attributes = $attributes;
}