{"id":98310,"date":"2019-02-28T21:24:16","date_gmt":"2019-02-28T21:24:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dash-notifier\/"},"modified":"2021-03-26T20:42:44","modified_gmt":"2021-03-26T20:42:44","slug":"dash-notifier","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/dash-notifier\/","author":14770713,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2","stable_tag":"1.2","tested":"5.7.15","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Dash Notifier","header_author":"LiteSpeed Technologies","header_description":"WordPress dashboard notifier","assets_banners_color":"5e7683","last_updated":"2021-03-26 20:42:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/litespeedtech\/wp-dashboard-notifier","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":20000,"downloads":44995,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0":{"tag":"1.0","author":"hailite","date":"2019-03-01 14:23:47"},"1.1":{"tag":"1.1","author":"hailite","date":"2019-03-12 18:17:03"},"1.1.1":{"tag":"1.1.1","author":"hailite","date":"2019-03-20 19:04:45"},"1.1.2":{"tag":"1.1.2","author":"LiteSpeedTech","date":"2020-06-23 13:18:02"},"1.2":{"tag":"1.2","author":"LiteSpeedTech","date":"2021-03-26 20:42:44"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2041741,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2041741,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2041741,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2041741,"resolution":"772x250","location":"assets","locale":"","width":940,"height":304}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.1.2","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2041741,"resolution":"1","location":"assets","locale":"","width":1375,"height":444}},"screenshots":{"1":"Dashboard"}},"plugin_section":[],"plugin_tags":[168553,17769],"plugin_category":[],"plugin_contributors":[79254],"plugin_business_model":[],"class_list":["post-98310","plugin","type-plugin","status-publish","hentry","plugin_tags-dashboard-notify","plugin_tags-plugin-installer","plugin_contributors-litespeedtech","plugin_committers-litespeedtech","plugin_support_reps-lclarke"],"banners":{"banner":"https:\/\/ps.w.org\/dash-notifier\/assets\/banner-772x250.png?rev=2041741","banner_2x":"https:\/\/ps.w.org\/dash-notifier\/assets\/banner-1544x500.png?rev=2041741","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dash-notifier\/assets\/icon-128x128.png?rev=2041741","icon_2x":"https:\/\/ps.w.org\/dash-notifier\/assets\/icon-256x256.png?rev=2041741","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/dash-notifier\/assets\/screenshot-1.png?rev=2041741","caption":"Dashboard"}],"raw_content":"<!--section=description-->\n<p>This plugin can be used by developers and system administrators to add a notification banner to their clients' WordPress Dashboard. It's useful for broadcasting important messages as well as suggesting plugins that clients' might find useful, and is handled through an API.<\/p>\n\n<p>To add a new banner, predefine a PHP constant called <code>DASH_NOTIFIER_MSG<\/code> before the <code>setup_theme<\/code> hook, like so:<\/p>\n\n<pre><code>define( 'DASH_NOTIFIER_MSG', json_encode( array( 'msg' =&gt; 'Your message to display in banner', 'plugin' =&gt; 'your_plugin_slug', 'plugin_name' =&gt; 'Your Plugin Name' ) ) ) ;\n<\/code><\/pre>\n\n<p>You can define 'DASH_NOTIFIER_MSG' in your own plugin or in <code>functions.php<\/code>, as long as it is before <code>setup_theme<\/code>.<\/p>\n\n<p>The <code>plugin<\/code> parameter is optional. If set, an install button will be included with the message, allowing the client to install the plugin in one click.<\/p>\n\n<p>The <code>plugin_name<\/code> parameter is also optional. If <code>plugin<\/code> is provided but <code>plugin_name<\/code> is not, the name will default to the official name found in the WordPress Plugin Directory.<\/p>\n\n<p><strong>Example<\/strong>: If the plugin you'd like to recommend is <code>https:\/\/wordpress.org\/plugins\/hello-dolly\/<\/code>, replace <code>your_plugin_slug<\/code> with <code>hello-dolly<\/code> and <code>Your Plugin Name<\/code> with <code>Hello Dolly<\/code>.<\/p>\n\n<p><strong>NOTE<\/strong>: Your clients must have this plugin installed in order for the notification banner to be displayed.<\/p>\n\n<!--section=changelog-->\n<h4>1.2 - Mar 26 2021<\/h4>\n\n<ul>\n<li>Potential PHP notice fix.<\/li>\n<\/ul>\n\n<h4>1.1.2 - Apr 11 2019<\/h4>\n\n<ul>\n<li>[Update] Fixed a potential PHP notice in certain PHP environment.<\/li>\n<\/ul>\n\n<h4>1.1.1 - Mar 20 2019<\/h4>\n\n<ul>\n<li>\ud83d\udc1e Deactivate notifier before uninstalling to avoid warning in plugin list.<\/li>\n<\/ul>\n\n<h4>1.1 - Mar 12 2019<\/h4>\n\n<ul>\n<li>[Tweak] Able to save message when using short init.<\/li>\n<\/ul>\n\n<h4>1.0 - Feb 28 2019<\/h4>\n\n<ul>\n<li>\ud83c\udf89 Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Developers and Sysadmins, use this plugin to add a notification to clients&#039; WordPress Dashboards via API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/98310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=98310"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/litespeedtech"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=98310"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=98310"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=98310"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=98310"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=98310"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=98310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}