[WordPress] 外掛分享: Slack Contact Form 7

首頁外掛目錄 › Slack Contact Form 7
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
400+
安裝啟用
★★★★
4/5 分(1 則評價)
3322 天前
最後更新
問題解決
WordPress 3.6+ v0.2.0 上架:2014-04-17

內容簡介

這個外掛是 Slack 外掛 的擴充功能,讓您可以在有人透過 Contact Form 7 傳送訊息時,將通知發送到 Slack 頻道。

新的事件將顯示在整合設定中,顯示文字為『當有人透過 Contact Form 7 傳送訊息時』。如果勾選此選項,則在 Contact Form 7 透過電子郵件傳送訊息後,通知將會傳送。

您可以使用 slack_wpcf7_submit_message 過濾器來更改訊息。這個過濾器按照位置順序接收以下參數:

$message — 要發送到 Slack 的預設訊息
$form — 表單物件
$result — 結果陣列

這個外掛的開發在 GitHub 上進行,歡迎發送拉取請求。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Slack Contact Form 7」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin is an extension to Slack plugin that allows you to send notifications to Slack channels whenever someone sent message through Contact Form 7.
The new event will be shown on integration setting with text When someone sent message through Contact Form 7. If checked then notification will be delivered after Contact Form 7 sent the message through email.
You can alter the message with slack_wpcf7_submit_message filter. The filter receives following parameters (ordered by position):

$message — Default message to send to Slack
$form — Form object
$result — Array of result

Development of this plugin is done on GitHub. Pull requests are always welcome.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon