• filter

    jetpack_forms_extra_webhooks

    Filters the list of extra webhooks to be called when a form is submitted. This filter allows developers to programmatically add webhook configurations that will receive form submission data. The webhooks added through this filter are merged with any webhooks already configured in the form’s attributes. Each webhook configuration array supports the following keys: – `webhook_id` (string, required): Unique identifier for the webhook. – `url` (string, required): The webhook URL to POST data to. – `method` (string, optional): HTTP method. Default ‘POST’. – `verified` (bool, optional): Whether the webhook is verified. Default false. – `format` (string, optional): Data format (‘json’). Default ‘json’. – `enabled` (bool, optional): Whether the webhook is enabled. Default false. Example usage: “` add_filter( ‘jetpack_forms_extra_webhooks’, function( $webhooks, $form ) { if ( $form->get_attribute( ‘id’ ) === ‘123’ ) { $webhooks[] = array( ‘webhook_id’ => ‘test-webhook-1’, ‘url’ => ‘[your webhook URL]’, ‘method’ => ‘POST’, ‘verified’ => false, ‘format’ => ‘json’, ‘enabled’ => true, ); } return $webhooks; }, 10, 2 ); “`

  • filter

    jetpack_forms_show_integration_icons

    Whether to show integration icons in the UI. If set to false, the ActiveIntegrations component (editor sidebar) will be hidden and integration icons in the integrations modal will not be rendered.

  • filter

    jetpack_forms_before_webhook_request

    Filters the form data before sending it to the webhook. Allows developers to modify or augment the form data before it’s sent to the webhook endpoint. NOTE: data has to be the first argument so it can be defaulted.