WordPress at Your Fingertips
function is not described

WC_Product_Attribute::get_id() public WC 1.0

Get the ID.

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

No Hooks.

Return

Int.

Usage

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

Code of WC_Product_Attribute::get_id() WC 5.6.0

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