wp-admin/includes/update.php:1087Checks whether auto-updates are forced for an item.
$typestring$updatebool|null$itemobjectboolOne hook fires while wp_is_auto_update_forced_for_item() runs, in this order:
Filters whether to automatically update core, a plugin, a theme, or a language.
function wp_is_auto_update_forced_for_item( $type, $update, $item ) { /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ return apply_filters( "auto_update_{$type}", $update, $item );}Introduced in 5.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/includes/update.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.