跳到内容

Hide Updates

v1.1.5

Upperdog · 2017年6月27日 上架

This plugin hides update notifications for core, plugin, and theme updates in the WordPress admin for all everyone except specified users.

正在使用
5,000+
评分
5.0 / 5
累计下载
4.6 万
最近更新
2024年3月19日
4 条评价需要 WordPress 3.0+已测试到 6.5.15

This plugin hides update notifications for core, plugin, and theme updates in the WordPress admin. It’s useful for developers and agencies who manage updates through Composer or remote management services like ManageWP, and therefore wants to hide update notices for other users.

Features

  • Hides WordPress core update notices.
  • Hides plugin update notices.
  • Hides theme update notices.
  • Hides updates link in admin menu and admin bar.
  • Blocks access to the updates page for users who are not allowed to see updates.
  • Enables developers to specify which users can see updates.

Worth noting

This plugin is intended for developers and agencies who have good reasons for hiding the updates, for example if they manage updates through Composer or remote management services like ManageWP. This plugin has been tested with ManageWP and ManageWP needs to connect to the site with a user account that is allowed to see updates.

Specify allowed users

By default, the plugin allows the first registered user (the one who installed the site) to see updates. Developers can use the hide_updates_allowed_users filter to specify which users are allowed to see update notifications.

The following example will allow only users with usernames bill and melinda to see updates:

function site_hide_updates_allowed_users() {
    $allowed_users = array( 'charlotte', 'bob' );
    return $allowed_users;
}
add_filter( 'hide_updates_allowed_users', 'site_hide_updates_allowed_users' );

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums