[WordPress] 外掛分享: Gragrid: Gravity Forms + SendGrid

首頁外掛目錄 › Gragrid: Gravity Forms + SendGrid
WordPress 外掛 Gragrid: Gravity Forms + SendGrid 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
1377 天前
最後更新
問題解決
WordPress 5.2+ PHP 7.3+ v2.2.2 上架:2020-09-14

內容簡介

整合您的Gravity Forms和SendGrid,以將帶有電子郵件欄位的提交發送到您的聯絡人列表。

進階

您可以使用此鉤子自訂提交上下文中傳送到SendGrid的聯絡人數據:

apply_filters( 'gragrid_contact_params', array $contact_params, array $entry, array $form )

$contact_params(數組):聯絡人參數,包括名字、電子郵件、自定義字段等。
$entry(數組):剛剛創建的表單條目。
$form(數組):當前表單,提交的來源。

您還可以使用以下鉤子自訂SendGrid API請求:

apply_filters( 'gragrid_request_args', array $args, string $path )

$args(數組):請求參數,包括標題、方法、主體等。
$path(字符串):正在調用的特定API端點。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Gragrid: Gravity Forms + SendGrid」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Integrate your Gravity Forms with SendGrid to send submissions with email fields to your contact lists.
Advanced
You can customize the contact data sent to SendGrid in the entry submission context with this hook:
apply_filters( 'gragrid_contact_params', array $contact_params, array $entry, array $form )

$contact_params (array): Contact parameters, includes first name, email, custom fields, etc.
$entry (array): The form entry that was just created.
$form (array): The current form, the origin of the submission.

You can also customize the SendGrid API requests using the following hook:
apply_filters( 'gragrid_request_args', array $args, string $path )

$args (array): Request arguments, includes headers, method, body, etc.
$path (string): The specific API endpoint being called.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon