WordPress at Your Fingertips
function is not described

WC_Product_Variation::set_attribute_summary() public WC 3.6.0

Set attribute summary.

By default, attribute summary contains comma-delimited 'attribute_name: attribute_value' pairs for all attributes.

{} It's a method of the class: WC_Product_Variation{}

No Hooks.


null. Nothing.


$WC_Product_Variation = new WC_Product_Variation();
$WC_Product_Variation->set_attribute_summary( $attribute_summary );
$attribute_summary(string) (required)
Summary of attribute names and values assigned to the variation.


Since 3.6.0 Introduced.

Code of WC_Product_Variation::set_attribute_summary() WC 5.6.0

public function set_attribute_summary( $attribute_summary ) {
	$this->set_prop( 'attribute_summary', $attribute_summary );