WC_REST_Products_V1_Controller::get_taxonomy_terms( WC_Product $product, string $taxonomy = 'cat' )

Get taxonomy terms.


Description Description


Parameters Parameters

$product

(Required) Product instance.

$taxonomy

(Optional) Taxonomy slug.

Default value: 'cat'


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.