This plugin sends notifications to any Slack channel when an event triggered in WordPress.
Author: | Eray Alakese (profile at wordpress.org) |
WordPress version required: | 3.6.1 |
WordPress version tested: | 4.2.2 |
Plugin version: | 1.7.1 |
Added to WordPress repository: | 25-03-2015 |
Last updated: | 17-07-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 74 |
Rated by: | 3 |
Plugin URI: | http://wordpress.org/plugins/slack-wordpress/ |
Total downloads: | 1 403 |
Click to start download |
You can contribute to this project on GitHub. And yes you can send your new feature requests to here.
This plugin sends notifications when
- a new post/page/custom post type published
- a post/page/custom post type updated
- a post/page/custom post type deleted
- a new comment pending approval
- a new category created
- a new category deleted
- a new ping received
- a new trackback received
- theme switched
- a new user registered
- a user is removed
FOR DEVELOPERS
You can send custom Slack notifications within your theme or plugin . To achieve this, slack-wordpress declares a global variable $slack_plugin
for you. You can send notification like this :
<?php
global $slack_plugin;
$channel_to_post = 'CXXXXXXXX';
$msg = 'test';
$slack_plugin->getApi()->publish_post($channel_to_post, $msg);
publish_post()
returns response of chat.postMessage , you can look at Response section. Also you can check Formatting section to formatting your message.