• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created over 10 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This plugin allows you to send notifications to Slack channels when certain events in WordPress occur.

Slack

Banner Send notifications to Slack channels when certain events in WordPress occur.

Contributors: akeda, reedyn
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
Donate link: http://goo.gl/DELyuR

Build Status

Description

This plugin allows you to send notifications to Slack channels when certain events in WordPress occur.

Play video on YouTube

By default, there are two events that can be sent to Slack:

  1. When a post needs review (status transitioned to 'pending')
  2. When a post is published
  3. When there's a new comment

It's possible to add more events using slack_get_events filter. For more information check the doc.

Development of this plugin is done on GitHub. Pull requests are always welcome.

There are some extension plugins that notify events triggered by other plugins. Belows are some of them:

Installation

  1. Upload Slack plugin to your blog's wp-content/plugins/ directory and activate.
  2. 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).
  3. 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.

Edit integration screen.

Edit integration screen.

Your channel get notified when some events occur.

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

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

More Repositories

1

bp3d

Golang package for 3d bin packing problem
Go
82
star
2

inflector

Go library that pluralizes and singularizes English nouns.
Go
77
star
3

go-instagram

Go library for accessing Instagram REST and Search APIs
Go
70
star
4

World-University-Names-Database

World University Names Database
51
star
5

Algorithm-and-Data-Structure-in-PHP

Algorithm and Data Structure in PHP
PHP
33
star
6

wp-tools

Command line interface to reduce boring tasks when working on WordPress plugin / theme project that will be published to wp.org
PHP
33
star
7

yet-another-simple-note

Go Martini powered REST API and Backbone
JavaScript
28
star
8

ginsta

Command line client written in Go that speaks to Instagram API
Go
25
star
9

gohn

Hacker News in the terminal
Go
25
star
10

wp-slack-woocommerce

Send notifications to Slack channels whenever payment in WooCommerce is marked as complete.
PHP
18
star
11

wp-better-hipchat

This plugin allows you to send notifications to HipChat rooms when certain events in WordPress occur
PHP
17
star
12

imgdownloader

Command line app to download images.
Go
13
star
13

wpdock

WordPress themes and plugins development with Docker and Compose
PHP
13
star
14

wp-github-api

This plugin contains easy-to-use API that uses WP HTTP API to make a request to GitHub API v3 resources.
PHP
11
star
15

preview-github-readme.md

Preview your local github's Readme.md.
PHP
11
star
16

wp-slack-contact-form-7

Send notifications to Slack channels whenever someone sent message through Contact Form 7.
PHP
10
star
17

watch-all-gh-org-repos

Command line interface to watch all GitHub organization / user repos.
JavaScript
10
star
18

wpdc

WordPress Deprecated Checker
Go
6
star
19

TowerOfHanoiJS

JavaScript code to create Tower of Hanoi game
JavaScript
5
star
20

unwatch-gh-org-repos

Command line interface to unwatch all GitHub organization / user repos.
JavaScript
5
star
21

simflow

Simply define and run your flows in Chrome.
JavaScript
4
star
22

wp-slack-edd

Send notifications to Slack channels whenever sales, in EDD, are made.
PHP
3
star
23

cas

Command as a Service.
Go
3
star
24

mexp-flickr

Flickr extension for the Media Explorer plugin.
PHP
3
star
25

WP_Twitter_Client

Library to help WordPress developer working with Twitter REST API.
PHP
3
star
26

php-janrain-api

A simple Object Oriented wrapper for Janrain API, written with PHP5.
PHP
3
star
27

node-image-placeholder

A ready-to-deploy app for image placeholder
JavaScript
3
star
28

semar-mesem-robot

Line Tracker Robot with PID control system.
C
3
star
29

cli_chat

Simple CLI based client and server for tcp based chat connection
Go
3
star
30

php_batch_replaces

search a keyword in files and replace that keyword with provided arguments
PHP
2
star
31

wp-simperium-sender-examples

Data sender examples as a plugin
PHP
2
star
32

go-toggl

Go library for accessing Toggl REST API
Go
2
star
33

health-calculator

A library to help calculate well known health-related metrics.
TypeScript
2
star
34

template-buku

Write book in Markdown
Python
2
star
35

unzipall

Unzip all zip files
Go
2
star
36

gedex.search

a jQuery plugin for common on-click-and-blur text value on search form
JavaScript
2
star
37

wp-gh-profile-widget

Plugin extension for GitHub API plugin for showing off GitHub profile in a widget.
PHP
2
star
38

seven-segment-stopwatch

Two seven segment display for simple stopwatch. Powered by AT89C51.
Assembly
1
star
39

kp-react

My attempt to redesign KawalPemilu.org data table
JavaScript
1
star
40

php-family-tree

A family tree site backed with cakePHP
PHP
1
star
41

bca-estatement-downloader

JavaScript
1
star
42

gedex.carousel

simple carousel tab
1
star
43

wp-simperium

This plugin contains easy-to-use API that uses WP HTTP API to send data to Simperium
PHP
1
star
44

mexp-picasa

Picasa extension for the Media Explorer plugin.
PHP
1
star
45

preview-github-readme

Go app to preview your GitHub's README.md
Go
1
star
46

gembel

Bulk update GitHub issue labels
Go
1
star
47

jquery.dynRow

a jQuery plugin for adding-removing dynamic rows
JavaScript
1
star
48

wc-jakarta-2017

Slide and codes for my talk at WordCamp Jakarta 2017
PHP
1
star
49

go-cloudflare

Go library for accessing CloudFlare Client and Host APIs
Go
1
star
50

simdoc

TBD
Go
1
star
51

gedex.github.com

My site hosted at github.com
Assembly
1
star
52

ghorg

CLI application to get information about organization on GitHub
PHP
1
star
53

form-descriptor-specification

Form Descriptor Specification
1
star
54

jqTick

a jQuery plugin for news-ticker like
JavaScript
1
star
55

GiphyStock

Stock your WordPress blog media with animated GIF from Giphy.
JavaScript
1
star
56

info-capres-2014

Info Capres 2014 (SPA) with Backbone.js
JavaScript
1
star
57

wp-post-to-gist

Post to GitHub Gist every time a post is saved.
PHP
1
star