Why Does The `auto_update_plugin` Hook Disable Management?
I’m working with the
auto_update_plugin to update active plugins on a specific schedule. If the current time is between X and Y then the filter returns true and the plugin is allowed to auto-update.
The problem I’m running into with this hook is that the return value either enables or disables update management entirely. This means that by returning
true I am unable to disable updates for a specific plugin as the "Automatic Updates" link is removed and replaced with text.
Why does this happen?
Is there a better hook to allow users to manage which plugins should auto-update while also being able to filter when it should auto-update?