WordPress at Your Fingertips
filter is not described

woocommerce_rest_webhook_query filter-hook . WC 1.0

Filter arguments, before passing to WC_Webhook_Data_Store->search_webhooks, when querying webhooks via the REST API.

Usage

add_filter( 'woocommerce_rest_webhook_query', 'filter_function_name_5788', 10, 2 );
function filter_function_name_5788( $args, $request ){
	// filter...

	return $args;
}
$args(array)
Array of arguments for $wpdb->get_results().
$request(WP_REST_Request)
The current request.

Where the hook is called

WC_REST_Webhooks_V1_Controller::get_items()
woocommerce_rest_webhook_query
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php 248
$prepared_args = apply_filters( 'woocommerce_rest_webhook_query', $args, $request );

Where in WP core the hook is used WooCommerce

Usage not found.