WC_REST_Products_Controller::get_collection_params()
Add new options for ‘orderby’ to the collection params.
Description Description
Return Return
(array)
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php