WC_Product_Attribute::get_id()publicWC 1.0

Get the ID.

Method of the class: WC_Product_Attribute{}

No Hooks.

Return

Int.

Usage

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

WC_Product_Attribute::get_id() code WC 8.7.0

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