We'll create fresh WordPress site with Hide Updates installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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.
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.
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' );