php 在Wordpress中隐藏插件更新通知图标

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php 在Wordpress中隐藏插件更新通知图标相关的知识,希望对你有一定的参考价值。

// Hide Plugin Notification Icons

function hide_that_stuff() {
  echo '<style type="text/css">

  #adminmenu li span.update-plugins span{ display: none; }

  </style>'; // hide the update icon
}
add_action('admin_head', 'hide_that_stuff');

以上是关于php 在Wordpress中隐藏插件更新通知图标的主要内容,如果未能解决你的问题,请参考以下文章

Wordpress-隐藏更新通知

在我的Wordpress主题的functions.php中添加过滤器的位置?

如何编码 WordPress 插件软件更新?

wordpress后台加载速度异常缓慢排查记录(原创)

php 删除更新wordpress通知

WordPress安全 - 隐藏保护wp-login.php后台登陆入口