apply_filters( "woocommerce_rest_{$this->post_type}_object_query", array $args , WP_REST_Request $request )
Filter the query arguments for a request.
Description Description
Enables adding extra arguments or setting defaults for a post collection request.
Parameters Parameters
- $args
-
Key value array of query var to query value.
- $request
-
The request used.
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php