Action hook 'after_core_auto_updates_settings'

in WP Core File wp-admin/update-core.php at line 454

View Source

after_core_auto_updates_settings

Action Hook
Description
Fires after the major core auto-update settings. }

Hook Information

File Location wp-admin/update-core.php View on GitHub
Hook Type Action
Line Number 454

Hook Parameters

Type Name Description
array $auto_update_settings { Array of core auto-update settings.

Usage Examples

Basic Usage
<?php
// Hook into after_core_auto_updates_settings
add_action('after_core_auto_updates_settings', 'my_custom_function', 10, 1);

function my_custom_function($auto_update_settings) {
    // Your custom code here
}

Source Code Context

wp-admin/update-core.php:454 - How this hook is used in WordPress core
<?php
 449  	 *     @type bool $dev   Whether to enable automatic updates for development versions.
 450  	 *     @type bool $minor Whether to enable minor automatic core updates.
 451  	 *     @type bool $major Whether to enable major automatic core updates.
 452  	 * }
 453  	 */
 454  	do_action( 'after_core_auto_updates_settings', $auto_update_settings );
 455  }
 456  
 457  /**
 458   * Display the upgrade plugins form.
 459   *

PHP Documentation

<?php
/**
	 * Fires after the major core auto-update settings.
	 *
	 * @since 5.6.0
	 *
	 * @param array $auto_update_settings {
	 *     Array of core auto-update settings.
	 *
	 *     @type bool $dev   Whether to enable automatic updates for development versions.
	 *     @type bool $minor Whether to enable minor automatic core updates.
	 *     @type bool $major Whether to enable major automatic core updates.
	 * }
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-admin/update-core.php
Related Hooks

Related hooks will be displayed here in future updates.