apply_filters( 'woocommerce_rest_webhook_query', array $args, WP_REST_Request $request )

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


Description Description


Parameters Parameters

$args

Array of arguments for $wpdb->get_results().

$request

The current request.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php



Top ↑

User Contributed Notes User Contributed Notes

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