jetpack_forms_before_webhook_request

jetpack_forms_before_webhook_request

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.3.1

apply_filters('jetpack_forms_before_webhook_request') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/service/class-form-webhooks.php line 225
    		 * @param string $webhook_id The unique identifier for this webhook.
    		 *
    		 * @return array The form data to be sent (field IDs as keys, values as values).
    		 */
    		$data = apply_filters( 'jetpack_forms_before_webhook_request', $data, $webhook['webhook_id'] );
    
    		$user_agent = "WordPress/{$wp_version} | Jetpack/" . constant( 'JETPACK__VERSION' ) . '; ' . get_bloginfo( 'url' );
    		$url        = $webhook['url'];
    		$format     = self::VALID_FORMATS_MAP[ $webhook['format'] ];
    		$method     = $webhook['method'];
    		// Encode body based on format