WC_REST_Products_V1_Controller::get_attribute_options( int $product_id, array $attribute )

Get attribute options.


Description Description


Parameters Parameters

$product_id

(Required) Product ID.

$attribute

(Required) Attribute data.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php


			


Top ↑

User Contributed Notes User Contributed Notes

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