after_core_auto_updates_settings хук-событиеWP 5.6.0

Fires after the major core auto-update settings.

Использование

add_action( 'after_core_auto_updates_settings', 'wp_kama_after_core_auto_updates_settings_action' );

/**
 * Function for `after_core_auto_updates_settings` action-hook.
 * 
 * @param array $auto_update_settings Array of core auto-update settings.
 *
 * @return void
 */
function wp_kama_after_core_auto_updates_settings_action( $auto_update_settings ){

	// action...
}
$auto_update_settings(массив)

Array of core auto-update settings.

  • dev(true|false)
    Whether to enable automatic updates for development versions.

  • minor(true|false)
    Whether to enable minor automatic core updates.

  • major(true|false)
    Whether to enable major automatic core updates.

Список изменений

С версии 5.6.0 Введена.

Где вызывается хук

core_auto_updates_settings()
after_core_auto_updates_settings
wp-admin/update-core.php 454
do_action( 'after_core_auto_updates_settings', $auto_update_settings );

Где используется хук в WordPress

Использование не найдено.