该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

External Notification

描述

External Notification is a plugin that allows users to send a notification to Slack.
Also it has useful hooks for developers.

Default function

When WordPress sends a notification email for site administrators, this plugin sends the message to slack instead of an email.
This feature can be disabled from the administration screen.

How to use the plugin as a notification API

There are 2 ways to use the plugin as the API.
1. Call the ready-to-use external_notification2slack function
external_notification2slack($message, $user_id, $payload)
2. If another plugin will use this to post slack, it is best to use this option instead of calling external_notification2slack function to avoid Fatal Error in case this plugin is deactivated.\
do_action( 'external_notification2slack', $message, $user_id, $payload );

For developers

‘webhook_url’ acquisition priority

  1. constant ‘EXNO_SLACK_WEBHOOK_URL’ in wp-config.php
  2. ‘webhook_url’ entry in External Notification option page

logging error messages

if you install & activete our another plugin ‘App Log’, outputs an error message to the log file.

屏幕截图

  • Profile settings page
  • Option settings page

安装

  1. Upload the plugin package to the plugins directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.

评价

此插件暂无评价。

贡献者及开发者

“External Notification” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「External Notification」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“External Notification”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • first version.