Changed hook so that it is not called that often *
Compatibility with automatic Updates *
Compatibility with update-core.php?force-check=1
Added $plugin_basename_file: as it is used more than once and to make it easier to figure out how to instantiate it with $args to plug it into another plugin.
Please test first, worked for me.
Changed hook so that it is not called that often *
Compatibility with automatic Updates *
Compatibility with update-core.php?force-check=1
Added $plugin_basename_file: as it is used more than once and to make it easier to figure out how to instantiate it with $args to plug it into another plugin.
as per: https://make.wordpress.org/core/2020/07/30/recommended-usage-of-the-updates-api-to-support-the-auto-updates-ui-for-plugins-and-themes-in-wordpress-5-5/)