WC_Product_Attribute::get_idpublicWC 1.0

Get the ID.

Method of the class: WC_Product_Attribute{}

No Hooks.

Returns

Int.

Usage

$WC_Product_Attribute = new WC_Product_Attribute();
$WC_Product_Attribute->get_id();

WC_Product_Attribute::get_id() code WC 10.5.0

public function get_id() {
	return $this->data['id'];
}