-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
71 lines (45 loc) · 2.39 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
=== Integrate WordPress or WooCommerce with Slack ===
Plugin Name: Integrator For Slack
Plugin URI: https://kerkness.ca/wc-slack
Contributors: kerkness
Tags: hubspot, crm, woocommerce, customers
Requires at least: 5.4
Tested up to: 5.8
Stable tag: 1.0.3
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Integrator for Slack posts WooCommerce or Wordpress events to a Slack channel. Register, Login, Update Details and Update Address currently supported. More to come.
== Description ==
Integrator for Slack posts WooCommerce or Wordpress customer events to a Slack channel. Register, Login, Update Details and Update Address currently supported. More events will be added as required.
To set up this plugin you will need to create a Slack APP and an Incoming Slack WebHook. See: [Incoming Webhooks for Slack](https://slack.com/intl/en-ca/help/articles/115005265063-Incoming-webhooks-for-Slack)
=== Post your own messages ===
Add hooks to your own `functions.php` file and send messages to Slack with `wc_slack_message("Hello World")`.
=== Post interactive messages ===
Post interactive messages with detailed context with `wc_slack_message($message, $attachements, $channel)`
- [View the Github page for examples](https://github.com/kerkness/wc-slack)
- [Full slack documentation](https://api.slack.com/messaging/composing/layouts#attachments)
=== Coming Soon ===
Send a slack message from any WordPress hook. We are working on a the ability to select configure a slack message from *ANY* hook/action in your site.
== Frequently Asked Questions ==
= Can the plugin post to multiple slack organizations =
No. The plugin accepts only one Incoming Webhook from Slack and will be limited to the channels available to that webhook.
= Can the plugin post to multiple slack channels =
That depends on your Slack account. The plugin accepts only one Incoming Webhook from Slack and will be limted to the channels available to that webhook.
== Screenshots ==
1. Sample message of a user login event.
2. Sample custom messages from a wp_insert_post action
== Changelog ==
= 1.0.3 =
* switched to using kerkness/kore-wp library for common functions
= 1.0.2 =
* re-factor prefix and removal of test methods
...
= 1.0.1 =
* Banner and Readme Updates
= 1.0.0 =
* Initial release.
* Supports messages on Customer creation and update events.
== Upgrade Notice ==
= 1.0.0 =
Initial release.