=== Fonk - Slack Notifications for Devs ===
Contributors: fonkcapetown, lbr13t
Donate link: https://fonk.capetown
Tags: Slack, notifications, developers, Fonk
Requires at least: 3.0.1
Tested up to: 5.5.3
Requires PHP: 5.6
Stable tag: 1.0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Send Slack notifications from anywhere in your theme to a Slack workspace and channel of your choice.

== Description ==

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.

== Installation ==

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

== Frequently Asked Questions ==

= 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](https://api.slack.com/messaging/webhooks).

= 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.

== Screenshots ==

1. Customisable notification in Slack
2. Configure your settings from Admin backend

== Changelog ==

= 1.0.4 =
* Update directory presence

= 1.0.3 =
* Update directory presence

= 1.0.2 =
* Minor QoL improvements

= 1.0.0 =
* First version

== Upgrade Notice ==
= 1.0.4 =
Updated plugin icon

= 1.0.3 =
Updated plugin name

= 1.0.2 =
First public release

= 1.0.0 =
v1 internal build