Automattic\WooCommerce\Admin\BlockTemplates
BlockInterface::set_attributes
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() BlockInterface::set attributes code WC 10.6.2
public function set_attributes( array $attributes );