內容簡介
這個外掛是 Slack 外掛 的擴充功能,可以讓你在 WooCommerce 的付款標記為完成時,將通知發送到 Slack 頻道。
新的事件將顯示在整合設定中,顯示文字為「當 WooCommerce 付款標記為完成時」。如果勾選則在付款標記為完成時,將會發送通知。
你可以使用 slack_woocommerce_order_status_completed_message 过滤器更改消息。该过滤器按以下位置接收参数:
$message — 要發送的默認字符串訊息
$order — 訂單物件
此外掛的開發在 GitHub 进行,欢迎拉请求
外掛標籤
開發者團隊
原文外掛簡介
This plugin is an extension to Slack plugin that allows you to send notifications to Slack channels whenever payment in WooCommerce is marked as complete.
The new event will be shown on integration setting with text When a payment in WooCommerce is marked as complete. If checked then notification will be delivered once payment is marked as complete.
You can alter the message with slack_woocommerce_order_status_completed_message filter. The filter receives following parameters (ordered by position):
$message — Default string of message to be delivered
$order — Order object
Development of this plugin is done on GitHub. Pull requests are always welcome.
