[wordpress插件] Disable admin notices individually分别禁用管理员通知

wordpress 插件 文章 2020-04-17 15:10 0 240 全屏看文
评分
98
描述

Do you know the situation, when some plugin offers you to update to premium, to collect technical data and shows many annoying notices?

当某些插件为您提供升级至高级服务,收集技术数据并显示许多烦人的通知时,您是否知道这种情况?

You are close these notices every now and again but they newly appears and interfere your work with WordPress.

您会时不时地关闭这些通知,但是它们会重新出现并干扰您使用WordPress的工作。

Even worse, some plugin’s authors delete “close” button from notices and they shows in your admin panel forever.

更糟糕的是,某些插件的作者从通知中删除了“关闭”按钮,并永久显示在您的管理面板中。

Our team was tired of this, and we developed a small plugin that solves problems with annoying notices.

我们的团队对此感到厌倦,我们开发了一个小插件来解决令人讨厌的通知问题。

With this plugin, you can turn off notices forever individually for themes, plugins and the WordPress itself.

使用此插件,您可以永远永久关闭主题,插件和WordPress本身的通知。

The Hide admin notices plugin adds “Hide notification forever” link for each admin notice.

“隐藏管理员通知”插件为每个管理员通知添加“永远隐藏通知”链接。

Click this link and plugin will filter this notice and you will never see it.

单击此链接,插件将过滤该通知,您将永远不会看到它。

This method will help you to disable only annoying notices from plugins and themes, but important error notifications will continue to work.

这种方法将帮助您仅从插件和主题禁用烦人的通知,但重要的错误通知将继续起作用。

In addition, you can disable all notices globally simply change plugin options.

此外,您只需更改插件选项即可全局禁用所有通知。

In this case, the plugin hides all admin notices, except of updates notices in the list of installed plug-ins.

在这种情况下,该插件会隐藏所有管理员通知,但已安装插件列表中的更新通知除外。

And still, that you could see which notices are shows, we made the special item in the top admin bar that will collect all notices in one place.

尽管如此,您仍然可以看到显示了哪些通知,我们在顶部管理栏中做了一个特殊项目,它将所有通知收集在一个地方。

It is disabled by default to freeing space in the admin menu but you can enable it in plugin options.

默认情况下禁用此功能,以释放管理菜单中的空间,但您可以在插件选项中启用它。

We used some useful functions from plugins Clearfy – disable unused features, WP Hide Plugin Updates and Warnings, Hide All Notices,

我们使用了插件中的一些有用功能清除–禁用未使用的功能 WP隐藏插件更新和警告隐藏所有通知

>WP Nag Hide, WP Notification Center

> WP Nag Hide WP通知中心

Recommended separate modules

推荐的单独模块

We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:

我们邀请您查看我们团队还提供的一些其他相关免费插件,您可能会发现它们特别有用:

安装步骤

    1. Upload the plugin folder to the /wp-content/plugins/ directory
    2. 将插件文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. The plugin settings can be accessed via the ‘Settings’ menu in the administration area (either your site administration for single-site installs).
    6. 可以通过管理区域中的“设置”菜单(对于单站点安装的站点管理)来访问插件设置。

下载地址
https://downloads.wordpress.org/plugin/disable-admin-notices.zip
-EOF-