-
Notifications
You must be signed in to change notification settings - Fork 39
/
readme.txt
86 lines (63 loc) · 3.26 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
=== Slack ===
Contributors: akeda, reedyn
Donate link: http://goo.gl/DELyuR
Tags: slack, api, chat, notification
Requires at least: 4.3
Tested up to: 4.7.3
Stable tag: 0.6.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Send notifications to Slack channels when certain events in WordPress occur.
== Description ==
This plugin allows you to send notifications to [Slack](https://slack.com) channels when certain events in WordPress occur.
[youtube http://www.youtube.com/watch?v=Az-XqfRmp_k]
By default, there are two events that can be sent to Slack:
1. When a post needs review (status transitioned to 'pending')
1. When a post is published
1. When there's a new comment
It's possible to add more events using `slack_get_events` filter. For more information check [the doc](http://gedex.web.id/wp-slack/).
**Development of this plugin is done on [GitHub](https://github.com/gedex/wp-slack). Pull requests are always welcome**.
There are some extension plugins that notify events triggered by other plugins. Belows are some of them:
* [Slack EDD](http://wordpress.org/plugins/slack-edd)
* [Slack WooCommerce](http://wordpress.org/plugins/slack-woocommerce)
* [Slack Contact Form 7](http://wordpress.org/plugins/slack-contact-form-7)
* [Slack Gravity Forms](http://wordpress.org/plugins/slack-gravityforms)
* [Slack User Password Reset](https://wordpress.org/plugins/user-password-reset-notifications-for-slack/)
== Installation ==
1. Upload **Slack** plugin to your blog's `wp-content/plugins/` directory and activate.
1. Add new **Incoming WebHooks** service in your Slack, the URL is `https://<SUBDOMAIN>.com/services/new/incoming-webhook` (replace `<SUBDOMAIN>` with your Slack's subdomain). Once created, note the URL of the service (you'll set it into integration entry in your WordPress).
1. Go to **Slack** menu in your WordPress to add the integration (make sure you're logged in as an Administrator).
== Screenshots ==
1. Integrations list. Yes, you can add more than one integration.
1. Edit integration screen.
1. Your channel get notified when some events occur.
== Changelog ==
= 0.6.0 =
* Fix spinner is not showing when sending test notification.
* Convert HTML entities in Slack notifications.
* Bump tested up to 4.7.3.
* For developers, unit tests and end-to-end tests were added.
= 0.5.1 =
* Removed bin directory for published plugin in WP.org. Props otto42
= 0.5.0 =
* Added bot icon support
= 0.4.1 =
* Fixed wrong text domain. Props [jphorn](https://github.com/jphorn)
= 0.4.0 =
* Added `priority` key in event type array
* Make sure `wp_insert_comment` is invoked as late as possible by passing priority `999`
* Added comment text and linkable text to edit comment in notification message
* Added `post_pending_review` event type
* Added excerpt when a post needs review (status transitioned to 'pending')
* Added excerpt when a post is published
* Fixed typo
= 0.3.0 =
* Add activate / deactivate link in row actions
* More columns in integration list table
= 0.2.0 =
* For default "When a post is published" and "When there is a new comment" events, limit the post type to "post"
* Don't send notification if message evaluates to false
* Plugin's banner
* Put Slack URL in README
= 0.1.0 =
Initial release