该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Transmit to Slack

描述

Instantly sends new orders from WooCommerce to your desired Slack channel.

Screenshots

  • This is how new orders shows on Slack (Ver. 1.0)

Getting Started

Step 1: Create Slack App

  • Go to Slack APIs: https://api.slack.com/apps/ and login
  • Create a new app
  • Give it a name (WC Orders, for example)
  • Choose the workspace you would like to integrate with
  • Under “Building Apps for Slack” click on “Incoming Webhooks”
  • At the top – Activate Incoming Webhooks
  • Then, at the bottom, click on the button to add new webhook
  • Choose the channel you wish the orders will show in
  • You can create a new channel on slack and then refresh that page, so you can select the channel you just created
  • Click Install
  • You will see a new webhook URL, something that starts like this: https://hooks.slack.com/services/T8KD1LQ……
  • Copy this URL

Step 2: Add code

  • Add the following code to your functions.php.
  • change “paste Webhook URL here” to the copied URL (from step 1)

add_filter(‘transmit_to_slack_webhook_url’, ‘slack_webhook_url’);
function slack_webhook_url(){
return ‘paste Webhook URL here’;
}

Contribute on GitHub

You are welcome to contribute this open source project on GitHub:
https://github.com/shirgans/transmit-to-slack

屏幕截图

评价

此插件暂无评价。

贡献者及开发者

“Transmit to Slack” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Transmit to Slack”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0 – 2019-06-23

  • First version