Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LookupDataStore::get_variations_of( WC_Product_Variable $product )

Get the variations of a given variable product.


Description Description


Parameters Parameters

$product

(Required) The product to get the variations for.


Top ↑

Return Return

(array) An array of WC_Product_Variation objects.


Top ↑

Source Source

File: src/Internal/ProductAttributesLookup/LookupDataStore.php


			


Top ↑

User Contributed Notes User Contributed Notes

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