apply_filters( "woocommerce_rest_{$taxonomy}_query", array $prepared_args, WP_REST_Request $request )

Filter the query arguments, before passing them to get_terms().


Description Description

Enables adding extra arguments or setting defaults for a terms collection request.

See also See also


Top ↑

Parameters Parameters

$prepared_args

Array of arguments to be passed to get_terms.

$request

The current request.


Top ↑

Source Source

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



Top ↑

User Contributed Notes User Contributed Notes

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