formcierge_dispatch_webhook
Action
Since v1.2.0
Fires before a webhook is dispatched via the Workflow Automation addon.
Parameters
$url
string
The webhook endpoint URL.
$payload
array
The payload array that will be JSON-encoded and sent.
$entry_id
int
The entry ID that triggered this webhook.
includes/Workflow/WebhookAction.php
Basic Usage
add_action( 'formcierge_dispatch_webhook', function ( $url, $payload, $entry_id ) {
error_log( "Dispatching webhook to $url for entry $entry_id" );
}, 10, 3 );