apply_filters( "auto_update_{$type}", ... )

Filters whether to automatically update core, a plugin, a theme, or a language.

Parameters:
  • $update bool | null
  • $item object