WC_Product_Variation::set_attribute_summary( string $attribute_summary )
Set attribute summary.
Description Description
By default, attribute summary contains comma-delimited ‘attribute_name: attribute_value’ pairs for all attributes.
Parameters Parameters
- $attribute_summary
-
(Required) Summary of attribute names and values assigned to the variation.
Source Source
File: includes/class-wc-product-variation.php
public function set_attribute_summary( $attribute_summary ) { $this->set_prop( 'attribute_summary', $attribute_summary ); }
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |