{"id":114780,"date":"2019-12-12T21:57:37","date_gmt":"2019-12-12T21:57:37","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/wp-down-slack-alert\/"},"modified":"2025-11-27T08:59:07","modified_gmt":"2025-11-27T08:59:07","slug":"wp-down-slack-alert","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/wp-down-slack-alert\/","author":8670591,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.1","stable_tag":"0.4.1","tested":"6.9.4","requires":"5.2","requires_php":"5.6","requires_plugins":null,"header_name":"WP Down Slack Alert","header_author":"Whodunit Agency","header_description":"Connect WordPress Recovery Mode to a your Slack team to receive alerts when websites are down","assets_banners_color":"6c7386","last_updated":"2025-11-27 08:59:07","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.whodunit.fr\/wp-down-slack-alert-wordpress-plugin-notification","header_author_uri":"https:\/\/www.whodunit.fr\/","rating":5,"author_block_rating":5,"active_installs":60,"downloads":5260,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":2,"sections":["description","installation","faq","changelog"],"tags":{"0.2":{"tag":"0.2","author":"audrasjb","date":"2019-12-22 20:45:11"},"0.3":{"tag":"0.3","author":"audrasjb","date":"2019-12-26 13:16:23"},"0.3.1":{"tag":"0.3.1","author":"audrasjb","date":"2019-12-26 15:08:37"},"0.3.2":{"tag":"0.3.2","author":"audrasjb","date":"2019-12-26 15:33:08"},"0.4":{"tag":"0.4","author":"audrasjb","date":"2019-12-30 16:38:20"},"0.4.1":{"tag":"0.4.1","author":"audrasjb","date":"2025-11-27 08:59:07"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2213562,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2213562,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2213562,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2213562,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.3","0.3.1","0.3.2","0.4","0.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2218221,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2218219,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2218219,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Settings screen.","2":"Slack API Token tutorial in the settings screen.","3":"Slack notification example."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2566,49036,1159,13383,3565],"plugin_category":[],"plugin_contributors":[98271,125439,129260],"plugin_business_model":[],"class_list":["post-114780","plugin","type-plugin","status-publish","hentry","plugin_tags-alert","plugin_tags-downtime","plugin_tags-notification","plugin_tags-recovery","plugin_tags-slack","plugin_contributors-audrasjb","plugin_contributors-leprincenoir","plugin_contributors-whodunitagency","plugin_committers-audrasjb","plugin_committers-leprincenoir"],"banners":{"banner":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/banner-772x250.png?rev=2213562","banner_2x":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/banner-1544x500.png?rev=2213562","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/icon-128x128.png?rev=2213562","icon_2x":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/icon-256x256.png?rev=2213562","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/screenshot-1.png?rev=2218221","caption":"Settings screen."},{"src":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/screenshot-2.png?rev=2218219","caption":"Slack API Token tutorial in the settings screen."},{"src":"https:\/\/ps.w.org\/wp-down-slack-alert\/assets\/screenshot-3.png?rev=2218219","caption":"Slack notification example."}],"raw_content":"<!--section=description-->\n<p><strong>This plugin is meant to send automatic notifications on the channel of your choice in your Slack Team.<\/strong><\/p>\n\n<p>Wether you manage hundred of websites or only a single one, it\u2019s always good to know when they are down, so you can step in as quick as possible.<\/p>\n\n<p><strong>WP Down Slack Alert<\/strong> provides a dedicated settings screen where you are able to set up your Slack channel configuration and to create a customized bot (name, avatar\u2026) for your notifications. There is a very helpful configuration wizard for your Slack API token. It will only takes few minutes to complete the configuration process.<\/p>\n\n<p>You can also programmatically define the plugin\u2019s settings with dedicated PHP constants (see FAQ section below).<\/p>\n\n<p>This plugin is based on WordPress Core Recovery Mode. The Slack alert is triggered when your websites goes into Recovery Mode and send you a Slack Notification with details about the issue.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin and activate.<\/li>\n<li>Go to Tools &gt; WP Down Slack Alert settings.<\/li>\n<li>See our FAQ below or follow the instruction in the settings page to configure your Slack token.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20set%20up%20the%20connexion%20to%20my%20slack%20team%3F'><h3>How to set up the connexion to my Slack Team?<\/h3><\/dt>\n<dd><p>Go to Tools &gt; WP Down Slack Alert and follow the tutorial to get your Slack API token and customize your Slack notification bot:<\/p>\n\n<p>To set up your Slack app, you'll need to get a Slack Bot token:<\/p>\n\n<ol>\n<li>Go to this page: https:\/\/api.slack.com\/apps?new_app=1 and provide a name for your App, choose a Slack workspace and click on \"Create App\" button.<\/li>\n<li>In the \"Features and functionality\" section, click on the \"Bots\" panel.<\/li>\n<li>That will lead you to the \"Bot user\" screen. Click on \"Add a Bot User\" button.<\/li>\n<li>Leave the default names (you will be able to override that in the plugin\u2019s settings), and click \"Add bot user\" button.<\/li>\n<li>Click on the \"Install App\" menu item in the navigation sidebar, then click on the \"Install App to Workspace\" button.<\/li>\n<li>Allow this Slack App to access your Slack team: click on the \"Allow\" button.<\/li>\n<li>Copy\/paste the <strong>Bot User OAuth Access Token<\/strong> in the plugin\u2019s settings field.<\/li>\n<\/ol><\/dd>\n<dt id='how%20to%20programmatically%20define%20the%20plugin%20settings%20using%20php%20constants%3F'><h3>How to programmatically define the plugin settings using PHP constants?<\/h3><\/dt>\n<dd><p>To programmatically define your settings, you can optionally use the following PHP constants, in a customized mu-plugin:<\/p>\n\n<pre><code>\/\/ Disable the admin settings screen (false to disable)\ndefine( 'WPDSA_SETTINGS', false );\n\n\/\/ Define the Slack API Token (string)\ndefine( 'WPDSA_NOTIFICATION_TOKEN', 'qcsqkjcssjcksqh' );\n\n\/\/ Define the notification channel (string - slugified)\ndefine( 'WPDSA_NOTIFICATION_CHANNEL', 'my_slack_channel' );\n\n\/\/ Disable the notification email (true to disable)\ndefine( 'WPDSA_NOTIFICATION_DISABLE_EMAIL', true );\n\n\/\/ Define the Slack notification recurrence (string - accepted values: '0,5', '1', '2', '6', '24', 'anytime')\ndefine( 'WPDSA_NOTIFICATION_RECURRENCE', '2' );\n\n\/\/ Define the notification bot name (string - slugified)\ndefine( 'WPDSA_NOTIFICATION_BOTNAME', 'My_bot_name' );\n\n\/\/ Define the notification message title text (string)\ndefine( 'WPDSA_NOTIFICATION_MESSAGE_TITLE', 'My message title' );\n\n\/\/ Define the notification message footer text (string)\ndefine( 'WPDSA_NOTIFICATION_MESSAGE_FOOTER', 'My message footer text' );\n\n\/\/ Define the notification message image (string - absolute link to an online image)\ndefine( 'WPDSA_NOTIFICATION_MESSAGE_IMAGE', 'http:\/\/assets.whodunit.fr\/brand\/logo_whodunit_petit.png' );\n\n\/\/ Disable the \"Green\" notification message (true to disable)\ndefine( 'WPDSA_NOTIFICATION_DISABLE_GREEN', true );\n<\/code><\/pre>\n\n<p><a href=\"https:\/\/www.whodunit.fr\/wp-content\/uploads\/2019\/12\/wp-down-slack-alert-constants.zip\">Follow this link to download a complete example of mu-plugin file<\/a><\/p>\n\n<p>You can download it, change the constants values if needed and upload it to <code>\/wp-content\/mu-plugins<\/code> folder. You can also define the PHP constants in your <code>wp-config.php<\/code> file.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Technical fixes.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>New feature: send a Green notification when a broken website is back in business.<\/li>\n<li>Enhancement: Add disable green notification setting.<\/li>\n<li>Enhancement: Add disable green notification constant.<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Fix: false positive with Slack API connexion check.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Fix: possible PHP fatal error on notification frequency.<\/li>\n<li>Fix: Remove a test echo function in plugin\u2019s main file.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Fix: styles and scripts enqueues.<\/li>\n<li>Fix: possible PHP fatal error for old PHP versions.<\/li>\n<li>Enhancement: add a set of PHP constants to programmatically define the plugin settings.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Better internationalization and tutorial integration.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Plugin initial commit. Works fine :)<\/li>\n<\/ul>","raw_excerpt":"Connect WordPress Recovery Mode to a your Slack team to receive alerts when websites are down.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/114780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=114780"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/audrasjb"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=114780"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=114780"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=114780"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=114780"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=114780"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=114780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}