do_action( 'woocommerce_rest_insert_webhook_object', WC_Webhook $webhook , WP_REST_Request $request , bool $creating )
Fires after a single item is created or updated via the REST API.
Description Description
Parameters Parameters
- $webhook
-
Webhook data.
- $request
-
Request object.
- $creating
-
True when creating item, false when updating.
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php