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.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php



Top ↑

User Contributed Notes User Contributed Notes

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