WC_REST_Products_V2_Controller::get_attributes( WC_Product|WC_Product_Variation $product )

Get the attributes for a product or product variation.


Description Description


Parameters Parameters

$product

(Required) Product instance.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php


			


Top ↑

User Contributed Notes User Contributed Notes

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