ProductCategorySchema::get_item_response( WP_Term $term )

Convert a term object into an object suitable for the response.


Description Description


Parameters Parameters

$term

(Required) Term object.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductCategorySchema.php


			


Top ↑

User Contributed Notes User Contributed Notes

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