這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.