plugin-icon

Hide Updates

لصاحبه Upperdog·
This plugin hides update notifications for core, plugin, and theme updates in the WordPress admin for all everyone except specified users.
التقييم
5/5
النسخة
1.1.5
التنصيبات النشطة
6K
آخر تحديث
Mar 19, 2024
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' );
مجانيعلى خطة Business
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.5.7
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.