Title: Hide Updates
Author: Upperdog
Published: <strong>2017 年 6 月 27 日</strong>
Last modified: 2024 年 3 月 19 日

---

搜尋外掛

![](https://ps.w.org/hide-updates/assets/banner-772x250.png?rev=1686202)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/hide-updates/assets/icon-256x256.png?rev=1686202)

# Hide Updates

 由 [Upperdog](https://profiles.wordpress.org/upperdog/) 開發

[下載](https://downloads.wordpress.org/plugin/hide-updates.1.1.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/hide-updates/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/hide-updates/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/hide-updates/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/hide-updates/#developers)

 [技術支援](https://wordpress.org/support/plugin/hide-updates/)

## 外掛說明

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' );
    ```

## 安裝方式

 1. Upload the `hide-updates` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常見問題集

### Who is this plugin for?

This plugin is aimed for developers and agencies who manage core, plugin, and translation
updates through Composer or remote management services like ManageWP.

### Why would you want to hide updates?

If you’re a developer or agency responsible for updating client sites, you may want
to hide updates for other users who should not install updates.

### Can I choose to hide only some types of updates?

No. All updates will be hidden.

## 使用者評論

![](https://secure.gravatar.com/avatar/690c6e8751ce99c9897ad652784ffab2afd4d32cc9b9cdf7987d74412fc8c870?
s=60&d=retro&r=g)

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2362/)󠁿

 [icecreamjelly](https://profiles.wordpress.org/icecreamjelly/) 2024 年 11 月 10
日

Plug and play, works like a charm. Hope this does not get taken down. Thanks.

![](https://secure.gravatar.com/avatar/a14f527b3997ec0efc00b13e2a23b0560f9eea7fec46f2661d3a75ebc565cfe1?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-38365/)󠁿

 [aldrinhart](https://profiles.wordpress.org/aldrinhart/) 2024 年 1 月 25 日

Very useful to keep calm clients

![](https://secure.gravatar.com/avatar/9e7bf080dee5b8b1ebc09cacf31b7f8c1871d9f50ac549a9e217b0ed131ef562?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-22209/)󠁿

 [Tom](https://profiles.wordpress.org/tom-van-m/) 2019 年 6 月 24 日

Exactly what I was looking for!

![](https://secure.gravatar.com/avatar/154859129a2672a4d2642930f62ae125efe91f27acf231c129fb43e94cb38f47?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-6068/)󠁿

 [Interpro](https://profiles.wordpress.org/interpro/) 2019 年 5 月 10 日

Installed, activated, worked. Thanks!!

 [ 閱讀全部 4 則使用者評論 ](https://wordpress.org/support/plugin/hide-updates/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Hide Updates〉的開發相關工作。

參與者

 *   [ Upperdog ](https://profiles.wordpress.org/upperdog/)
 *   [ Emil Gustafsson ](https://profiles.wordpress.org/gesen/)

[將〈Hide Updates〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/hide-updates)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/hide-updates/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/hide-updates/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/hide-updates/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/hide-updates/)。

## 變更記錄

#### 1.1.5

 * Release date: 2019-12-18
 * Minor refactoring and coding standards overhaul.
 * Align Github and WordPress.org version release numbers.

#### 1.1.4

 * Release date: 2019-05-28
 * Check if user is logged in before enqueuing plugin CSS. Thanks Vincent Klaiber(
   @vinkla) for the help!

#### 1.1.3

 * Release date: 2018-10-28
 * Avoid error if default user with ID 1 doesn’t exist.

#### 1.1.2

 * Release date: 2018-10-21
 * Add first registered user (usually the one who installed the site) as default
   user allowed to see updates.
 * Add more precise CSS selector for hiding plugin updates in admin menu to avoid
   breaking other plugins using the .update-plugins class on other notifications.

#### 1.1.1

 * Release date: 2018-10-21
 * Remove include of wp-includes/pluggable.php to be able to use wp_get_current_user().
   Unnecessary to include file.

#### 1.1

 * Release date: 2018-10-21
 * Add filter to define users allowed to see updates.
 * Hide update notifications using CSS to enable usage of remote management services
   like ManageWP and others. Previous solution used pre_site_transient_update_* 
   filters and nulled all values making it impossible for remote management services
   to read updates.

#### 1.0

 * Initial release.

## 中繼資料

 *  版本 **1.1.5**
 *  最後更新 **2 年前**
 *  啟用安裝數 **6,000+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.5.8**
 *  語言
 * [English (US)](https://wordpress.org/plugins/hide-updates/)
 * 標籤:
 * [core updates](https://tw.wordpress.org/plugins/tags/core-updates/)[notices](https://tw.wordpress.org/plugins/tags/notices/)
   [Plugin Updates](https://tw.wordpress.org/plugins/tags/plugin-updates/)[update](https://tw.wordpress.org/plugins/tags/update/)
   [updates](https://tw.wordpress.org/plugins/tags/updates/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hide-updates/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/hide-updates/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/hide-updates/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/hide-updates/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/hide-updates/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/hide-updates/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-updates/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/hide-updates/reviews/)

## 參與者

 *   [ Upperdog ](https://profiles.wordpress.org/upperdog/)
 *   [ Emil Gustafsson ](https://profiles.wordpress.org/gesen/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/hide-updates/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://paypal.me/gesen)