| @@ -113,8 +113,12 @@ | ||
| 113 | 113 | die(); |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | public function wppm_add_notification_container(){ |
| 117 | + $mention_notification = get_option('wppm_default_global_mention_comment_notification',1); | |
| 118 | + if ( ! $mention_notification ) { | |
| 119 | + return; | |
| 120 | + } | |
| 117 | 121 | echo ' <div id="wppm_notification_bell"> |
| 118 | 122 | <span class="dashicons dashicons-bell"></span> |
| 119 | 123 | <span class="wppm-badge">0</span> |
| 120 | 124 | </div> |