WC_REST_Products_V2_Controller::api_get_related_ids( WC_Product $product, string $context )

Fetch related IDs.


Description Description


Parameters Parameters

$product

(Required) Product object.

$context

(Required) Context of request, can be view or edit.


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.