WC_Product_Attribute::set_id( int $value )

Set ID (this is the attribute ID).


Description Description


Parameters Parameters

$value

(Required) Attribute ID.


Top ↑

Source Source

File: includes/class-wc-product-attribute.php

	public function set_id( $value ) {
		$this->data['id'] = absint( $value );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.