{"id":130140,"date":"2020-10-25T10:48:05","date_gmt":"2020-10-25T10:48:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/external-notification\/"},"modified":"2020-10-25T10:47:37","modified_gmt":"2020-10-25T10:47:37","slug":"external-notification","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/external-notification\/","author":16456268,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"5.5.18","requires":"5.4","requires_php":"7.1.24","requires_plugins":"","header_name":"External Notification","header_author":"PRESSMAN","header_description":"Send notifications to Slack","assets_banners_color":"","last_updated":"2020-10-25 10:47:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.pressman.ne.jp\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":915,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2408084,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2408084,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Profile settings page","2":"Option settings page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1159,162598,3565],"plugin_category":[],"plugin_contributors":[161901,191358,186254,162599],"plugin_business_model":[],"class_list":["post-130140","plugin","type-plugin","status-publish","hentry","plugin_tags-notification","plugin_tags-pressman","plugin_tags-slack","plugin_contributors-hiroshisekiguchi","plugin_contributors-kengotakeuchi","plugin_contributors-naokiikeda","plugin_contributors-pressmaninc","plugin_committers-pressmaninc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/external-notification.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/external-notification\/assets\/screenshot-1.png?rev=2408084","caption":"Profile settings page"},{"src":"https:\/\/ps.w.org\/external-notification\/assets\/screenshot-2.png?rev=2408084","caption":"Option settings page"}],"raw_content":"<!--section=description-->\n<p>External Notification is a plugin that allows users to send a notification to Slack.\nAlso it has useful hooks for developers.<\/p>\n\n<h3>Default function<\/h3>\n\n<p>When WordPress sends a notification email for site administrators, this plugin sends the message to slack instead of an email.\nThis feature can be disabled from the administration screen.<\/p>\n\n<h3>How to use the plugin as a notification API<\/h3>\n\n<p>There are 2 ways to use the plugin as the API.\n1. Call the ready-to-use external_notification2slack function\n    <code>external_notification2slack($message, $user_id, $payload)<\/code>\n2. 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.\\\n    <code>do_action( 'external_notification2slack', $message, $user_id, $payload );<\/code><\/p>\n\n<h3>For developers<\/h3>\n\n<h4>'webhook_url' acquisition priority<\/h4>\n\n<ol>\n<li>constant 'EXNO_SLACK_WEBHOOK_URL' in wp-config.php<\/li>\n<li>'webhook_url' entry in External Notification option page<\/li>\n<\/ol>\n\n<h4>logging error messages<\/h4>\n\n<p>if you install &amp; activete our another plugin 'App Log', outputs an error message to the log file.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin package to the plugins directory.<\/li>\n<li>Activate the plugin through the \\'Plugins\\' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>first version.<\/li>\n<\/ul>","raw_excerpt":"This plugin provides a function to post to Slack.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/130140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=130140"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pressmaninc"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=130140"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=130140"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=130140"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=130140"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=130140"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=130140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}