WordPress filter hook · part of WordPress core
allow_minor_auto_core_updates
A WordPress core filter that 24 plugins also fire themselves, running on 110K+ sites between them.
“This filter is documented in wp-admin/includes/class-core-upgrader.php”
How to use allow_minor_auto_core_updates
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'allow_minor_auto_core_updates', function( $minor ) {
// Change $minor here.
return $minor;
}, 10, 1 );Argument names come from Japanized for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
24 plugins that fire allow_minor_auto_core_updates
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Simply Schedule Appointments50,000+ installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/lib/td-health-check/includes/class-health-check-auto-updates.php:520 -
Total Upkeep40,000+ installs
apply_filters( 'allow_minor_auto_core_updates', false )admin/class-boldgrid-backup-admin-notice.php:256 -
Japanized for WooCommerce10,000+ installs
apply_filters( 'allow_minor_auto_core_updates', $minor )includes/class-jp4wc-security-checks.php:523 -
WPCore Plugin Manager9,000+ installs
apply_filters( 'allow_minor_auto_core_updates', $minor )src/Sites/Report.php:355 -
Homepage Helden Contact Info200+ installs
apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor )homepage-helden-contact-info.php:251 -
Developer Debug Tools100+ installs
apply_filters( 'allow_minor_auto_core_updates', true )inc/hub/pages/tools/security-checks/class-security-checks.php:2019 -
Admin Optimizer100+ installs
apply_filters( 'allow_minor_auto_core_updates', $enabled )modules/security-monitor/includes/site-health-checks.php:515 -
SitePulse100+ installs
apply_filters( 'allow_minor_auto_core_updates', $minor )class/remote_inventory.php:196 -
All in One Content Protector & Security100+ installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/scanner/checks/class-aowpcs-checks-core.php:157 -
SecurynAI70+ installs
apply_filters( 'allow_minor_auto_core_updates', true )modules/hardening/class-config-checker.php:738 -
Bastora Security Audit60+ installs
apply_filters( 'allow_minor_auto_core_updates', $minor )includes/class-scanner.php:1664 -
Technical Site Auditor50+ installs
apply_filters( 'allow_minor_auto_core_updates', $minor )includes/checkers/class-checker-system-health.php:1862 -
AssistKit50+ installs
apply_filters( 'allow_minor_auto_core_updates', true )admin/class-admin.php:138 -
YOOAdmin10+ installs
apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor )includes/admin/update-center-render.php:660 -
Health and Server Condition10+ installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/class-wpcondi-checks.php:455 -
Keel Defaults10+ installs
apply_filters( 'allow_minor_auto_core_updates', $enabled )includes/backport-policy.php:309 -
UTS Sites Simple Update ManagerFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', false )includes/class-settings.php:600 -
ShieldXenFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', true )src/Checks/Hardening/CoreAutoUpdates.php:57 -
BoonRiskFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/collectors/class-updates-collector.php:203 -
Teydea Site AssistantFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', $minor )src/modules/cards-operations/internal/class-card-updates.php:343 -
Fine MCPFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/kits/security-integrity/src/config.php:160 -
Elevoire Site Health ProFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', $minor_enabled )includes/checks/class-security-checks.php:474 -
JustWhat Security AuditFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/class-checks.php:147 -
Insight BenchFewer than 10 installs
apply_filters( 'allow_minor_auto_core_updates', true )includes/class-insightbench-inventory.php:120
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.