{"id":122300,"date":"2020-11-14T17:44:02","date_gmt":"2020-11-14T17:44:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/slack-notifications-for-developers\/"},"modified":"2020-11-14T19:24:48","modified_gmt":"2020-11-14T19:24:48","slug":"fonk-slack-notifications","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/fonk-slack-notifications\/","author":18025119,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"1.0.4","tested":"5.5.18","requires":"3.0.1","requires_php":"5.6","requires_plugins":"","header_name":"Fonk - Slack Notifications for Devs","header_author":"Fonk Cape Town","header_description":"Send custom notifications from anywhere to your Slack environment and channel of choice.","assets_banners_color":"330e1a","last_updated":"2020-11-14 19:24:48","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/fonk.capetown","header_plugin_uri":"","header_author_uri":"https:\/\/fonk.capetown","rating":0,"author_block_rating":0,"active_installs":10,"downloads":971,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.4":{"tag":"1.0.4","author":"fonkcapetown","date":"2020-11-14 19:24:48"}},"upgrade_notice":{"1.0.4":"<p>Updated plugin icon<\/p>","1.0.3":"<p>Updated plugin name<\/p>","1.0.2":"<p>First public release<\/p>","1.0.0":"<p>v1 internal build<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2418689,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2418689,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2418689,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2418689,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2418689,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2418689,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Customisable notification in Slack","2":"Configure your settings from Admin backend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3772,193027,4906,3565],"plugin_category":[],"plugin_contributors":[193028,193029],"plugin_business_model":[],"class_list":["post-122300","plugin","type-plugin","status-publish","hentry","plugin_tags-developers","plugin_tags-fonk","plugin_tags-notifications","plugin_tags-slack","plugin_contributors-fonkcapetown","plugin_contributors-lbr13t","plugin_committers-fonkcapetown","plugin_committers-lbr13t","plugin_support_reps-lbr13t"],"banners":{"banner":"https:\/\/ps.w.org\/fonk-slack-notifications\/assets\/banner-772x250.png?rev=2418689","banner_2x":"https:\/\/ps.w.org\/fonk-slack-notifications\/assets\/banner-1544x500.png?rev=2418689","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/fonk-slack-notifications\/assets\/icon-128x128.png?rev=2418689","icon_2x":"https:\/\/ps.w.org\/fonk-slack-notifications\/assets\/icon-256x256.png?rev=2418689","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/fonk-slack-notifications\/assets\/screenshot-1.png?rev=2418689","caption":"Customisable notification in Slack"},{"src":"https:\/\/ps.w.org\/fonk-slack-notifications\/assets\/screenshot-2.png?rev=2418689","caption":"Configure your settings from Admin backend"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>fonk-slack-notification<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure your default settings under Settings &gt; Slack Notifications<\/li>\n<li>Place the <code>fonk_send_to_slack('custom message');<\/code> function anywhere in your templates or functions<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt><h3>How can I customise the notification?<\/h3><\/dt>\n<dd><p>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;<\/p>\n\n<pre><code>fonk_send_to_slack($message, $channel, $username, $icon_emoji, $url_webhook);\n<\/code><\/pre>\n\n<p>(e.g. <code>fonk_send_to_slack(\"notification text\", \"channel\", \"WP Bot\", \":zap:\");<\/code>)<\/p><\/dd>\n<dt><h3>Can I send notifications to different channels and\/or workspaces?<\/h3><\/dt>\n<dd><p>Yes - see steps to customise in the answer above.<\/p><\/dd>\n<dt><h3>Are there any requirements?<\/h3><\/dt>\n<dd><p>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 <a href=\"https:\/\/api.slack.com\/messaging\/webhooks\">Slack's documentation<\/a>.<\/p><\/dd>\n<dt><h3>Can you help me with x, y or z?<\/h3><\/dt>\n<dd><p>Sure - send us an email at development@fonk.capetown and we'd be happy to help out.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Update directory presence<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update directory presence<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Minor QoL improvements<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version<\/li>\n<\/ul>","raw_excerpt":"Send Slack notifications from anywhere in your theme to a Slack workspace and channel of your choice.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/122300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=122300"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fonkcapetown"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=122300"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=122300"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=122300"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=122300"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=122300"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=122300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}