Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gedex/wp-slack
This plugin allows you to send notifications to Slack channels when certain events in WordPress occur.
https://github.com/gedex/wp-slack
php slack wordpress wordpress-plugin
Last synced: about 1 month ago
JSON representation
This plugin allows you to send notifications to Slack channels when certain events in WordPress occur.
- Host: GitHub
- URL: https://github.com/gedex/wp-slack
- Owner: gedex
- License: gpl-2.0
- Created: 2014-04-11T13:48:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T11:17:43.000Z (over 4 years ago)
- Last Synced: 2024-08-02T20:46:46.302Z (4 months ago)
- Topics: php, slack, wordpress, wordpress-plugin
- Language: PHP
- Homepage: http://gedex.web.id/wp-slack/
- Size: 462 KB
- Stars: 128
- Watchers: 18
- Forks: 39
- Open Issues: 28
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-indo-projects - WP Slack - This plugin allows you to send notifications to Slack channels when certain events in WordPress occur. (Plugins)
- awesome-indonesia-repo - WP Slack - This plugin allows you to send notifications to Slack channels when certain events in WordPress occur. (Plugins)
- awesome-vietnam-repo - WP Slack - This plugin allows you to send notifications to Slack channels when certain events in WordPress occur. (Plugin)
README
# Slack
![Banner](assets/banner-1544x500.png)
Send notifications to Slack channels when certain events in WordPress occur.**Contributors:** [akeda](https://profiles.wordpress.org/akeda), [reedyn](https://profiles.wordpress.org/reedyn)
**Tags:** [slack](https://wordpress.org/plugins/tags/slack), [api](https://wordpress.org/plugins/tags/api), [chat](https://wordpress.org/plugins/tags/chat), [notification](https://wordpress.org/plugins/tags/notification)
**Requires at least:** 4.3
**Tested up to:** 4.7.3
**Stable tag:** 0.6.0
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
**Donate link:** http://goo.gl/DELyuR[![Build Status](https://travis-ci.org/gedex/wp-slack.svg?branch=master)](https://travis-ci.org/gedex/wp-slack)
## Description ##
This plugin allows you to send notifications to [Slack](https://slack.com) channels when certain events in WordPress occur.
[![Play video on YouTube](https://i1.ytimg.com/vi/Az-XqfRmp_k/hqdefault.jpg)](https://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 commentIt'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://.com/services/new/incoming-webhook` (replace `` 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 ##
### Integrations list. Yes, you can add more than one integration.
![Integrations list. Yes, you can add more than one integration.](assets/screenshot-1.png)
### Edit integration screen.
![Edit integration screen.](assets/screenshot-2.png)
### Your channel get notified when some events occur.
![Your channel get notified when some events occur.](assets/screenshot-3.png)
## 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