[wordpress插件] Dismiss Welcome Panel Nag Dashboard Widget关闭欢迎面板Nag仪表板小部件

wordpress 插件 文章 2020-04-19 05:00 472 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Dismiss Welcome Panel nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory.

在激活时关闭欢迎面板 nag,仪表板小部件,如果在mu-plugins目录中,则自动将其关闭。

Development for this plugin, takes place at GitHub, and GitHub

https://travis-ci.org/luciano-croce/dismiss-welcome-nag/" rel="nofollow">Travis CI.

https://travis-ci.org/luciano-croce/dismiss-welcome-nag/“ rel =” nofollow“>特拉维斯CI 。

Dismiss Welcome Panel Nag is the best companion of 关闭欢迎面板Nag

/dismiss-gutenberg-nag/">Dismiss Gutenberg Nag, and Dismiss Browser Update Nag.

/ dismiss-gutenberg-nag /“>关闭Gutenberg Nag 和关闭浏览器更新Nag

Compatible with GlotPress translations.

与GlotPress 翻译兼容。

Plugin approved in the repository of the plugin directory on 2017-11-09

插件已在2017-11-09的插件目录的存储库中批准

Tips

提示

A neat trick, is to put this single file dismiss-welcome-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won't

一个巧妙的技巧是将单个文件dismiss-welcome-nag.php(而不是其父目录)放在/ wp-content / mu-plugins /目录中(如果不存在则创建它),这样您就不会

even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!

自从第一步安装WordPress安装程序以来,甚至都必须启用它,并且默认情况下也会将其加载!

Explanation

说明

This, is different from the other similar plugins, because uses the filter hook, and not the action hook.

这与其他类似的插件不同,因为使用过滤器挂钩,而不是操作挂钩。

Filters should filter information, thus receiving information/data, applying the filter and returning information/data, and then used.

过滤器应过滤信息,从而接收信息/数据,应用过滤器并返回信息/数据,然后再使用。

However, filters are still action hooks.

但是,过滤器仍然是动作挂钩。

WordPress defines add_filteremove_filter as “hooks a function to a specific filter action”, and add_actionemove_action as “hooks a function on to a specific action”.

WordPress将add_filter / remove_filter定义为“将函数绑定到特定的过滤器动作”,将add_action / remove_action定义为“将函数附加到特定的动作”。

What is Welcome Panel?

什么是欢迎面板?

Welcome Panel is a dashboard widget experience for WordPress 3.5+

“欢迎面板” 是WordPress 3.5+的仪表板小部件体验

About it

关于它

The code of this plugin, is not written with a php framework, but with a simple php editor, manually, compatible UTF-8 without BOM, and Unix LF.

此插件的代码不是使用php框架编写的,而是使用简单的php编辑器,手动,兼容的UTF-8(不带BOM)和Unix LF编写的。

To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor.

为避免代码损坏,请勿使用WordPress嵌入式编辑器或任何不兼容规范的编辑器对其进行编辑。

Translation

翻译

Translated by: Luciano Croce

译者:卢西亚诺·克罗齐

Acknowledgements

致谢

Thanks to Andrea Gandino (andg) for Andrea Gandino(andg)用于

wordpress.org/locale/it/default/wp-plugins/dismiss-welcome-nag" rel="nofollow">Italian translation approval.

wordpress.org/locale/it/default/wp-plugins/dismiss-welcome-nag“ rel =” nofollow“>意大利语翻译批准。

Thanks to Garrett Hyder for Garrett Hyder 对于

.org/locale/en-ca/default/wp-plugins/dismiss-welcome-nag" rel="nofollow">English (Canada) translation approval.

.org / locale / zh-CN / default / wp-plugins / dismiss-welcome-nag“ rel =” nofollow“>英语(加拿大)翻译批准。

下载地址
https://downloads.wordpress.org/plugin/dismiss-welcome-nag.zip
-EOF-

AI助手支持GPT4.0