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.


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

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

Where the hook is called

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.