apply_filters( "woocommerce_rest_query_var-{$var}", mixed $prepared_args[ )
Filter the query_vars used in get_items
for the constructed query.
Description Description
The dynamic portion of the hook name, $var, refers to the query_var key.
Parameters Parameters
- $prepared_args[
-
$var ] The query_var value.
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php