Filter hook 'update_feedback'
in WP Core File wp-admin/includes/update-core.php at line 993
Description
Filters feedback messages displayed during the core update process. The filter is first evaluated after the zip file for the latest version has been downloaded and unzipped. It is evaluated five more times during the process: 1. Before WordPress begins the core upgrade process. 2. Before Maintenance Mode is enabled. 3. Before WordPress begins copying over the necessary files. 4. Before Maintenance Mode is disabled. 5. Before the database is upgraded.
Occurrences
Filename |
Line Number |
wp-admin/includes/update-core.php |
993 |
wp-admin/includes/update-core.php |
1135 |
wp-admin/includes/update-core.php |
1219 |
wp-admin/includes/update-core.php |
1228 |
wp-admin/includes/update-core.php |
1368 |
wp-admin/includes/update-core.php |
1483 |
wp-admin/includes/class-core-upgrader.php |
133 |
wp-admin/includes/class-core-upgrader.php |
197 |
wp-admin/includes/class-core-upgrader.php |
200 |
Parameters
Type |
Name |
Description |
string |
$feedback |
The core update feedback messages. |
PHP Doc
/**
* Filters feedback messages displayed during the core update process.
*
* The filter is first evaluated after the zip file for the latest version
* has been downloaded and unzipped. It is evaluated five more times during
* the process:
*
* 1. Before WordPress begins the core upgrade process.
* 2. Before Maintenance Mode is enabled.
* 3. Before WordPress begins copying over the necessary files.
* 4. Before Maintenance Mode is disabled.
* 5. Before the database is upgraded.
*
* @since 2.5.0
*
* @param string $feedback The core update feedback messages.
*/