core_upgrade_preamble
Action HookDescription
Fires after the core, plugin, and theme update tables.Hook Information
File Location |
wp-admin/update-core.php
View on GitHub
|
Hook Type | Action |
Line Number | 1139 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into core_upgrade_preamble
add_action('core_upgrade_preamble', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/update-core.php:1139
- How this hook is used in WordPress core
<?php
1134 /**
1135 * Fires after the core, plugin, and theme update tables.
1136 *
1137 * @since 2.9.0
1138 */
1139 do_action( 'core_upgrade_preamble' );
1140 echo '</div>';
1141
1142 wp_localize_script(
1143 'updates',
1144 '_wpUpdatesItemCounts',
PHP Documentation
<?php
/**
* Fires after the core, plugin, and theme update tables.
*
* @since 2.9.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/update-core.php
Related Hooks
Related hooks will be displayed here in future updates.