這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Fonk – Slack Notifications for Devs

外掛說明

This plugin adds an easily customisable function to your theme, with which you can fire Slack Notifications to any workspace and channel of choice. Currently, no pre-defined triggers exist, so it is up to you (or your developer) to add the function in to whichever part of your theme/processes you would like.

螢幕擷圖

  • Customisable notification in Slack
  • Configure your settings from Admin backend

安裝方式

  1. Upload fonk-slack-notification to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure your default settings under Settings > Slack Notifications
  4. Place the fonk_send_to_slack('custom message'); function anywhere in your templates or functions

常見問題集

How can I customise the notification?

By changing any of the parameters below, you can send any type of text notification you would like, to any workspace and channel of choice;

fonk_send_to_slack($message, $channel, $username, $icon_emoji, $url_webhook);

(e.g. fonk_send_to_slack("notification text", "channel", "WP Bot", ":zap:");)

Can I send notifications to different channels and/or workspaces?

Yes – see steps to customise in the answer above.

Are there any requirements?

Yes – you will obviously need a Slack workspace.. more importantly, you will need to configure a unique Slack webhook (URL) for your workspace to which notificiations are sent. Find out more in Slack’s documentation.

Can you help me with x, y or z?

Sure – send us an email at development@fonk.capetown and we’d be happy to help out.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Fonk – Slack Notifications for Devs〉的開發相關工作。

參與者

變更記錄

1.0.4

  • Update directory presence

1.0.3

  • Update directory presence

1.0.2

  • Minor QoL improvements

1.0.0

  • First version