SLACK Integration for WordPress

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
plugin download
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

  1. a new post/page/custom post type published
  2. a post/page/custom post type updated
  3. a post/page/custom post type deleted
  4. a new comment pending approval
  5. a new category created
  6. a new category deleted
  7. a new ping received
  8. a new trackback received
  9. theme switched
  10. a new user registered
  11. 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.

AUTHOR

CONTRIBUTORS