WC_REST_Products_V1_Controller::save_taxonomy_terms( WC_Product $product, array $terms, string $taxonomy = 'cat' )

Save taxonomy terms.


Description Description


Parameters Parameters

$product

(Required) Product instance.

$terms

(Required) Terms data.

$taxonomy

(Optional) Taxonomy name.

Default value: 'cat'


Top ↑

Return Return

(WC_Product)


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.