WordPress at Your Fingertips
filter is not described

woocommerce_rest_customer_query filter-hook . WC 1.0

Filter arguments, before passing to WP_User_Query, when querying users via the REST API.


add_filter( 'woocommerce_rest_customer_query', 'filter_function_name_8736', 10, 2 );
function filter_function_name_8736( $prepared_args, $request ){
	// filter...

	return $prepared_args;
Array of arguments for WP_User_Query.
The current request.

Where the hook is called

woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php 270
$prepared_args = apply_filters( 'woocommerce_rest_customer_query', $prepared_args, $request );

Where in WP core the hook is used WooCommerce

Usage not found.