Changeset 2110825
- Timestamp:
- 06/23/2019 09:28:41 AM (7 years ago)
- Location:
- transmit-to-slack/trunk
- Files:
-
- 2 edited
-
README.md (modified) (2 diffs)
-
reademe.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
transmit-to-slack/trunk/README.md
r2110813 r2110825 1 # transmit-to-slack 2 Send WooCommerce orders to Slack 1 === Transmit to Slack === 2 Contributors: shirgans 3 Tags: slack, woocommerce, orders, api 4 Donate link: https://www.paypal.me/shirgans 5 Requires at least: 4.5.0 6 Tested up to: 5.2 7 Requires PHP: 5.2.4 8 Stable tag: 3.6.4 9 License: GPLv3 or later 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html 3 11 4 Send WooCommerce Orders to Slack 5 ====== 12 Instantly sends new orders from WooCommerce to your desired Slack channel. 6 13 7 » **Getting Started**8 14 9 Step 1: Create Slack App 10 ------------------------ 15 = Screenshots = 16 17 - This is how new orders shows on Slack (Ver. 1.0) 18 19 20 == Getting Started == 21 22 = Step 1: Create Slack App = 23 11 24 - Go to Slack APIs: https://api.slack.com/apps/ and login 12 25 - Create a new app … … 22 35 - Copy this URL 23 36 24 Step 2: Add code 25 ---------------- 37 = Step 2: Add code = 26 38 - Add the following code to your functions.php. 27 28 `add_filter('transmit_to_slack_webhook_url', 'slack_webhook_url');`29 30 `function slack_webhook_url(){`31 32 `return 'paste Webhook URL here';`33 34 `}`35 36 39 - change "paste Webhook URL here" to the copied URL (from step 1) 37 40 38 Contribute on GitHub 39 -------------------- 41 add_filter('transmit_to_slack_webhook_url', 'slack_webhook_url'); 42 function slack_webhook_url(){ 43 return 'paste Webhook URL here'; 44 } 45 46 == Contribute on GitHub == 40 47 You are welcome to contribute this open source project on GitHub: 41 48 https://github.com/shirgans/transmit-to-slack 49 50 == Changelog == 51 = 1.0.0 - 2019-06-23 = 52 * First version -
transmit-to-slack/trunk/reademe.txt
r2110819 r2110825 4 4 Donate link: https://www.paypal.me/shirgans 5 5 Requires at least: 4.5.0 6 Tested up to: 5.2 .26 Tested up to: 5.2 7 7 Requires PHP: 5.2.4 8 Stable tag: 5.2.28 Stable tag: 3.6.4 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html 11 11 12 == Description == 12 Instantly sends new orders from WooCommerce to your desired Slack channel. 13 13 14 Instantly sends new orders from WooCommerce to your desired Slack channel.15 14 16 15 = Screenshots = … … 18 17 - This is how new orders shows on Slack (Ver. 1.0) 19 18 19 20 == Getting Started == 21 22 = Step 1: Create Slack App = 23 24 - Go to Slack APIs: https://api.slack.com/apps/ and login 25 - Create a new app 26 - Give it a name (WC Orders, for example) 27 - Choose the workspace you would like to integrate with 28 - Under Building Apps for Slack click on Incoming Webhooks 29 - At the top - Activate Incoming Webhooks 30 - Then, at the bottom, click on the button to add new webhook 31 - Choose the channel you wish the orders will show in 32 - You can create a new channel on slack and then refresh that page, so you can select the channel you just created 33 - Click Install 34 - You will see a new webhook URL, something that starts like this: https://hooks.slack.com/services/T8KD1LQ...... 35 - Copy this URL 36 37 = Step 2: Add code = 38 - Add the following code to your functions.php. 39 - change "paste Webhook URL here" to the copied URL (from step 1) 40 41 add_filter('transmit_to_slack_webhook_url', 'slack_webhook_url'); 42 function slack_webhook_url(){ 43 return 'paste Webhook URL here'; 44 } 45 46 == Contribute on GitHub == 47 You are welcome to contribute this open source project on GitHub: 48 https://github.com/shirgans/transmit-to-slack 49 20 50 == Changelog == 21 51 = 1.0.0 - 2019-06-23 =
Note: See TracChangeset
for help on using the changeset viewer.