The dynamic portion of the hook name,
$file, refers to the path of the plugin’s primary file relative to the plugins directory.
(array) An array of plugin metadata.
(string) The human-readable name of the plugin.
(string) Plugin URI.
(string) Plugin version.
(string) Plugin description.
(string) Plugin author.
(string) Plugin author URI.
(string) Plugin text domain.
(string) Relative path to the plugin's .mo file(s).
(bool) Whether the plugin can only be activated network wide.
(string) The human-readable title of the plugin.
(string) Plugin author's name.
(bool) Whether there's an available update. Default null.
(array) An array of metadata about the available plugin update.
(int) Plugin ID.
(string) Plugin slug.
(string) New plugin version.
(string) Plugin URL.
(string) Plugin update package URL.
In WordPress theme and development, Hooks are functions that can be applied to an Action or a Filter in WordPress. Actions and Filters in WordPress are functions that can be altered by theme and plugin developers to change the default WordPress functionality.
Functions used to alter Actions/Filters in WordPress can be hooked into WordPress. In any case, note that actions and filters are not some thing very similar. Actions are functions performed when a specific occasion happens in WordPress. Filters enable you to change certain functions. Arguments used to hook the two filters and actions appear to be identical. Be that as it may, they are different in functionality and how they carry on.